summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-26 21:38:17 +0000
committerrubidium <rubidium@openttd.org>2008-05-26 21:38:17 +0000
commit290b3bd3cc6e0562d7561d2319d5805d46bd54e3 (patch)
treee42587f22d3cfe46d11f12be7b8d010c0fcd713a /src/genworld_gui.cpp
parentf2a5b2556cf71d39256fe5a6c2c3372e6474f624 (diff)
downloadopenttd-290b3bd3cc6e0562d7561d2319d5805d46bd54e3.tar.xz
(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window.
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 ef040e4da..e4014529c 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 */
- UpdatePatches();
+ _settings = _settings_newgame;
ResetGRFConfig(true);
SndPlayFx(SND_15_BEEP);
@@ -377,7 +377,7 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
break;
case GLAND_GENERATE_BUTTON: // Generate
- UpdatePatches();
+ _settings = _settings_newgame;
if (_settings.economy.town_layout == TL_NO_ROADS) {
ShowQuery(