diff options
author | smatz <smatz@openttd.org> | 2009-06-23 23:42:37 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-23 23:42:37 +0000 |
commit | b18bf87c9081c3d202897e9c3ed282729db415a4 (patch) | |
tree | dde2cd75256dc15fda8669965cdb699f42ddd1d2 | |
parent | 986cc75a126f55c76d546a263ca55153178643eb (diff) | |
download | openttd-b18bf87c9081c3d202897e9c3ed282729db415a4.tar.xz |
(svn r16642) -Codechange: use map size limits enum at one more place
-rw-r--r-- | src/genworld_gui.cpp | 2 |
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); |