1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

Replace missed occurrence of magic numbers with defines

This commit is contained in:
Gymnasiast
2015-10-26 13:53:26 +01:00
parent 61444c8518
commit 9504f3f10d

View File

@@ -942,8 +942,8 @@ static void window_map_inputsize_land(rct_window *w)
static void window_map_inputsize_map(rct_window *w)
{
((uint16*)TextInputDescriptionArgs)[0] = 13;
((uint16*)TextInputDescriptionArgs)[1] = 254;
((uint16*)TextInputDescriptionArgs)[0] = MINIMUM_MAP_SIZE_PRACTICAL;
((uint16*)TextInputDescriptionArgs)[1] = MAXIMUM_MAP_SIZE_PRACTICAL;
window_text_input_open(w, WIDX_MAP_SIZE_SPINNER, 5130, 5131, STR_NONE, STR_NONE, 4);
}