From e7a501100a242640d25c21627ec67e75f9645043 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 29 May 2008 15:13:28 +0000 Subject: (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. --- src/genworld_gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/genworld_gui.cpp') diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index e4014529c..7296346df 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -205,7 +205,7 @@ void StartGeneratingLandscape(glwp_modes mode) DeleteAllNonVitalWindows(); /* Copy all XXX_newgame to XXX when coming from outside the editor */ - _settings = _settings_newgame; + _settings_game = _settings_newgame; ResetGRFConfig(true); SndPlayFx(SND_15_BEEP); @@ -377,9 +377,9 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow { break; case GLAND_GENERATE_BUTTON: // Generate - _settings = _settings_newgame; + _settings_game = _settings_newgame; - if (_settings.economy.town_layout == TL_NO_ROADS) { + if (_settings_game.economy.town_layout == TL_NO_ROADS) { ShowQuery( STR_TOWN_LAYOUT_WARNING_CAPTION, STR_TOWN_LAYOUT_WARNING_MESSAGE, -- cgit v1.2.3-54-g00ecf