mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-16 11:09:11 +00:00
(svn r16642) -Codechange: use map size limits enum at one more place
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user