(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window.

This commit is contained in:
rubidium
2008-05-26 21:38:17 +00:00
parent a0b14f02c8
commit 495ca8fdb9
4 changed files with 8 additions and 19 deletions

View File

@@ -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(