mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-30 08:59:35 +01:00
(svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list.
This commit is contained in:
parent
f3ea5524d2
commit
fa7c1d8a34
@ -245,8 +245,8 @@ struct GameOptionsWindow : Window {
|
|||||||
|
|
||||||
/* Append newgrf_names at the end of list */
|
/* Append newgrf_names at the end of list */
|
||||||
if (newgrf_names.size() > 0) {
|
if (newgrf_names.size() > 0) {
|
||||||
list->push_back(new DropDownListItem(-1, false)); // separator line
|
newgrf_names.push_back(new DropDownListItem(-1, false)); // separator line
|
||||||
list->splice(list->end(), newgrf_names);
|
list->splice(list->begin(), newgrf_names);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user