mirror of https://github.com/OpenTTD/OpenTTD
(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)release/1.1
parent
564a50628c
commit
71d169ffd3
|
@ -603,8 +603,6 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GLAND_GENERATE_BUTTON: // Generate
|
case GLAND_GENERATE_BUTTON: // Generate
|
||||||
MakeNewgameSettingsLive();
|
|
||||||
|
|
||||||
if (mode == GLWM_HEIGHTMAP &&
|
if (mode == GLWM_HEIGHTMAP &&
|
||||||
(this->x * 2 < (1U << _settings_newgame.game_creation.map_x) ||
|
(this->x * 2 < (1U << _settings_newgame.game_creation.map_x) ||
|
||||||
this->x / 2 > (1U << _settings_newgame.game_creation.map_x) ||
|
this->x / 2 > (1U << _settings_newgame.game_creation.map_x) ||
|
||||||
|
|
Loading…
Reference in New Issue