mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 22:28:56 +00:00
(svn r16642) -Codechange: use map size limits enum at one more place
This commit is contained in:
parent
986cc75a12
commit
b18bf87c90
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user