diff options
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 4 |
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; |