summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-04-01 19:48:28 +0000
committerterkhen <terkhen@openttd.org>2010-04-01 19:48:28 +0000
commit4ec8fed1da87b79dda5edd6cc7c052379c7b8c4e (patch)
tree87d9b6a57e05d8173f3a712a6ca7b21802cf2602 /src/strings.cpp
parente1c68f1b2c303617894070ba499c277635af2639 (diff)
downloadopenttd-4ec8fed1da87b79dda5edd6cc7c052379c7b8c4e.tar.xz
(svn r19534) -Add: Keep a list of cargo specifications sorted by cargo class / name.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 2d425834a..59983a539 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -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();