From b18bf87c9081c3d202897e9c3ed282729db415a4 Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 23 Jun 2009 23:42:37 +0000 Subject: (svn r16642) -Codechange: use map size limits enum at one more place --- src/genworld_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-54-g00ecf