diff options
author | glx <glx@openttd.org> | 2007-06-04 19:51:31 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-06-04 19:51:31 +0000 |
commit | 1a7c7d768f982bff42d0503b7cba30cff6cefd7b (patch) | |
tree | 25da8afebc39f54b4f298a78e2f353de86ad8eb0 /src/strings.cpp | |
parent | a5e5757656480d00d3633309569dabc44b28fab8 (diff) | |
download | openttd-1a7c7d768f982bff42d0503b7cba30cff6cefd7b.tar.xz |
(svn r10036) -Add: sort the strings in town names dropdown
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index 57b3111c2..8e0b7942f 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -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; } |