(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 d29c756946
commit f7327dc7d7
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();