summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYexo <yexo@openttd.org>2009-01-28 13:36:11 +0000
committerYexo <yexo@openttd.org>2009-01-28 13:36:11 +0000
commit8877a0c9ae1f742b7b6c076aedaa4db8a17d4c06 (patch)
treefb024f94c5d00f4f1af7d603b6232b234ea933b9
parent7d64441008be46cbdf36df938ba8183407fed258 (diff)
downloadopenttd-8877a0c9ae1f742b7b6c076aedaa4db8a17d4c06.tar.xz
(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.
-rw-r--r--src/genworld_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index a31668d7e..056d58b9f 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -311,7 +311,6 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
this->afilter = CS_NUMERAL;
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);
}