mirror of https://github.com/OpenTTD/OpenTTD
(svn r15288) -Fix (r15212): Don't set the newgame setting for water borders to a random value if it's 'random' when the newgame gui is opened.
parent
7d64441008
commit
8877a0c9ae
|
@ -311,7 +311,6 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
|
||||||
this->afilter = CS_NUMERAL;
|
this->afilter = CS_NUMERAL;
|
||||||
|
|
||||||
this->mode = (glwp_modes)this->window_number;
|
this->mode = (glwp_modes)this->window_number;
|
||||||
if (_settings_newgame.game_creation.water_borders == BORDERS_RANDOM) _settings_newgame.game_creation.water_borders = GB(Random(), 0, 4);
|
|
||||||
|
|
||||||
this->FindWindowPlacementAndResize(desc);
|
this->FindWindowPlacementAndResize(desc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue