1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-28 17:09:10 +00:00

(svn r19534) -Add: Keep a list of cargo specifications sorted by cargo class / name.

This commit is contained in:
terkhen
2010-04-01 19:48:28 +00:00
parent e1c68f1b2c
commit 4ec8fed1da
4 changed files with 57 additions and 0 deletions

View File

@@ -1326,6 +1326,7 @@ bool ReadLanguagePack(int lang_index)
_dynlang.curr = lang_index;
_dynlang.text_dir = (TextDirection)lang_pack->text_dir;
SetCurrentGrfLangID(_langpack->newgrflangid);
InitializeSortedCargoSpecs();
SortIndustryTypes();
BuildIndustriesLegend();
SortNetworkLanguages();