(svn r16642) -Codechange: use map size limits enum at one more place

This commit is contained in:
smatz 2009-06-23 23:42:37 +00:00
parent 4b3bf5667a
commit 916331328e

View File

@ -519,7 +519,7 @@ static DropDownList *BuildMapsizeDropDown()
{ {
DropDownList *list = new DropDownList(); 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); DropDownListParamStringItem *item = new DropDownListParamStringItem(STR_JUST_INT, i, false);
item->SetParam(0, 1 << i); item->SetParam(0, 1 << i);
list->push_back(item); list->push_back(item);