summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-23 23:42:37 +0000
committersmatz <smatz@openttd.org>2009-06-23 23:42:37 +0000
commitb18bf87c9081c3d202897e9c3ed282729db415a4 (patch)
treedde2cd75256dc15fda8669965cdb699f42ddd1d2 /src
parent986cc75a126f55c76d546a263ca55153178643eb (diff)
downloadopenttd-b18bf87c9081c3d202897e9c3ed282729db415a4.tar.xz
(svn r16642) -Codechange: use map size limits enum at one more place
Diffstat (limited to 'src')
-rw-r--r--src/genworld_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index 379ec8fa4..2ca91d5e5 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -519,7 +519,7 @@ static DropDownList *BuildMapsizeDropDown()
{
DropDownList *list = new DropDownList();
- for (uint i = 6; i <= 11; i++) {
+ for (uint i = MIN_MAP_SIZE_BITS; i <= MAX_MAP_SIZE_BITS; i++) {
DropDownListParamStringItem *item = new DropDownListParamStringItem(STR_JUST_INT, i, false);
item->SetParam(0, 1 << i);
list->push_back(item);