Changeset - r12217:767633dcff35
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-06-23 23:42:37
smatz@openttd.org
(svn r16642) -Codechange: use map size limits enum at one more place
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/genworld_gui.cpp
Show inline comments
 
@@ -516,13 +516,13 @@ static void LandscapeGenerationCallback(
 
}
 

	
 
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);
 
	}
 

	
 
	return list;
0 comments (0 inline, 0 general)