summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
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
commit268d298a36a3e04102f3f268c3914af45a321ec3 (patch)
treefb024f94c5d00f4f1af7d603b6232b234ea933b9 /src/genworld_gui.cpp
parent4e0505633df6471702e461db5fd625ca057b2183 (diff)
downloadopenttd-268d298a36a3e04102f3f268c3914af45a321ec3.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.
Diffstat (limited to 'src/genworld_gui.cpp')
-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);
}