1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 19:39:12 +00:00

(svn r22260) [1.1] -Backport from trunk:

- Fix: New game settings were applied to early when starting a game via a heightmap. [FS#4557] (r22259)
This commit is contained in:
frosch
2011-03-18 20:54:07 +00:00
parent 564a50628c
commit 71d169ffd3

View File

@@ -603,8 +603,6 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
break;
case GLAND_GENERATE_BUTTON: // Generate
MakeNewgameSettingsLive();
if (mode == GLWM_HEIGHTMAP &&
(this->x * 2 < (1U << _settings_newgame.game_creation.map_x) ||
this->x / 2 > (1U << _settings_newgame.game_creation.map_x) ||