summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-25 00:14:46 +0000
committeryexo <yexo@openttd.org>2009-02-25 00:14:46 +0000
commitbd2544b5ead713fa327536fe577da74e5119db98 (patch)
tree82b010bb9aac9f8bd447c528656ec56260040abb /src/genworld_gui.cpp
parenta23818b14643143761f4ee776bbf646ef1fc9b52 (diff)
downloadopenttd-bd2544b5ead713fa327536fe577da74e5119db98.tar.xz
(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index 4c2aa4ddf..c98e05ad9 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -588,7 +588,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
break;
case GLAND_TERRAIN_PULLDOWN: {
- byte old_gm = _game_mode;
+ GameMode old_gm = _game_mode;
_game_mode = GM_MENU;
IConsoleSetSetting("difficulty.terrain_type", index);
_game_mode = old_gm;
@@ -596,7 +596,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
}
case GLAND_WATER_PULLDOWN: {
- byte old_gm = _game_mode;
+ GameMode old_gm = _game_mode;
_game_mode = GM_MENU;
IConsoleSetSetting("difficulty.quantity_sea_lakes", index);
_game_mode = old_gm;