diff options
-rw-r--r-- | src/game.cpp | 2 | ||||
-rw-r--r-- | src/keycode.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 2453523ef..d90262060 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -270,7 +270,7 @@ void updateViewingRange(f32 frametime_in, Client *client) new_range += wanted_range_change; - float new_range_unclamped = new_range; + //float new_range_unclamped = new_range; if(new_range < range_min) new_range = range_min; if(new_range > range_max) diff --git a/src/keycode.h b/src/keycode.h index 4201debc4..f19fe3442 100644 --- a/src/keycode.h +++ b/src/keycode.h @@ -17,6 +17,9 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifndef KEYCODE_HEADER +#define KEYCODE_HEADER + #include "common_irrlicht.h" irr::EKEY_CODE keyname_to_keycode(const char *name); @@ -24,4 +27,5 @@ irr::EKEY_CODE keyname_to_keycode(const char *name); // Key configuration getter irr::EKEY_CODE getKeySetting(const char *settingname); +#endif |