summaryrefslogtreecommitdiff
path: root/src/openttd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/openttd.h')
-rw-r--r--src/openttd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/openttd.h b/src/openttd.h
index 44a39893d..b769de963 100644
--- a/src/openttd.h
+++ b/src/openttd.h
@@ -5,10 +5,10 @@
#ifndef OPENTTD_H
#define OPENTTD_H
-enum GameModes {
+enum GameMode {
GM_MENU,
GM_NORMAL,
- GM_EDITOR
+ GM_EDITOR,
};
enum SwitchModes {
@@ -35,7 +35,7 @@ enum {
DO_WAYPOINTS = 6,
};
-extern byte _game_mode;
+extern GameMode _game_mode;
extern bool _exit_game;
extern int8 _pause_game;