summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-13 00:30:26 +0000
committerrubidium <rubidium@openttd.org>2009-03-13 00:30:26 +0000
commitf1605cf47582c9c3bdada658fbad5a05ea2205fc (patch)
tree423a5c4f3ace7646dcd0dd867312bdd30a4ff797 /src/strings.cpp
parentaa441cd4d713b32eae1d2af1eb39278eb39e439c (diff)
downloadopenttd-f1605cf47582c9c3bdada658fbad5a05ea2205fc.tar.xz
(svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code.
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 0d421a9e5..93fdac5cb 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1315,7 +1315,7 @@ bool ReadLanguagePack(int lang_index)
_dynlang.curr = lang_index;
_dynlang.text_dir = (TextDirection)lang_pack->text_dir;
- SetCurrentGrfLangID(_langpack->isocode);
+ SetCurrentGrfLangID(_langpack->newgrflangid);
SortNetworkLanguages();
return true;
}