mirror of https://github.com/OpenTTD/OpenTTD
(svn r22259) -Fix (r9779)[FS#4557]: Remove duplicate and wrong (too early) activation of new game settings. (chillcore)
parent
0e17cbc9f8
commit
93272478b7
|
@ -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