mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-21 13:39:09 +00:00
(svn r10036) -Add: sort the strings in town names dropdown
This commit is contained in:
@@ -1102,6 +1102,7 @@ StringID RemapOldStringID(StringID s)
|
||||
}
|
||||
|
||||
extern void SortNetworkLanguages();
|
||||
extern void SortTownGeneratorNames();
|
||||
|
||||
bool ReadLanguagePack(int lang_index)
|
||||
{
|
||||
@@ -1159,6 +1160,7 @@ bool ReadLanguagePack(int lang_index)
|
||||
_dynlang.curr = lang_index;
|
||||
SetCurrentGrfLangID(_langpack->isocode);
|
||||
SortNetworkLanguages();
|
||||
SortTownGeneratorNames();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user