(svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user