summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-10-24 20:58:31 +0000
committerterkhen <terkhen@openttd.org>2010-10-24 20:58:31 +0000
commit0568976c785417c8f01b7b4117ad36cc2b7282b8 (patch)
tree4b008f84db6101231ad546ece8867626e5ea7866
parent8f9dcab09b4030a77b96e534530d83226e526b24 (diff)
downloadopenttd-0568976c785417c8f01b7b4117ad36cc2b7282b8.tar.xz
(svn r21034) -Fix: Add missing default values for the custom town number and custom water level world generation options.
-rw-r--r--src/genworld_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index 47efaa317..b720aac57 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -787,6 +787,8 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
switch (this->widget_id) {
case GLAND_START_DATE_TEXT: value = DEF_START_YEAR; break;
case GLAND_SNOW_LEVEL_TEXT: value = DEF_SNOWLINE_HEIGHT; break;
+ case GLAND_TOWN_PULLDOWN: value = 1; break;
+ case GLAND_WATER_PULLDOWN: value = CUSTOM_SEA_LEVEL_MIN_PERCENTAGE; break;
default: NOT_REACHED();
}
}