summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-24 22:48:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-24 22:48:35 +0300
commitb474de4a54c9b1d4d863971e40b807588d554436 (patch)
tree761e71f86ea232d1688ee2838bd2294c59dea947 /src/game.h
parenta316d537dce50f4b4e1e10f5c26a7851baddbd8b (diff)
downloadmanaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.gz
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.bz2
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.xz
manaverse-b474de4a54c9b1d4d863971e40b807588d554436.zip
replace defines to consts.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index 17e67b243..6fc42be42 100644
--- a/src/game.h
+++ b/src/game.h
@@ -29,7 +29,7 @@
#include <SDL/SDL.h>
-#define MAX_LASTKEYS 10
+static const int MAX_LASTKEYS = 10;
extern volatile int cur_time;
//extern std::string map_path; // TODO: Get rid of this global