mirror of https://github.com/OpenTTD/OpenTTD.git
(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 */
|
||||
if (newgrf_names.size() > 0) {
|
||||
list->push_back(new DropDownListItem(-1, false)); // separator line
|
||||
list->splice(list->end(), newgrf_names);
|
||||
newgrf_names.push_back(new DropDownListItem(-1, false)); // separator line
|
||||
list->splice(list->begin(), newgrf_names);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue