From bd2544b5ead713fa327536fe577da74e5119db98 Mon Sep 17 00:00:00 2001 From: yexo Date: Wed, 25 Feb 2009 00:14:46 +0000 Subject: (svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte. --- src/genworld_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/genworld_gui.cpp') 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; -- cgit v1.2.3-54-g00ecf