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
commiteb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2 (patch)
tree423a5c4f3ace7646dcd0dd867312bdd30a4ff797 /src/strings.cpp
parentf6e4bc765ae9a69e3e0622724c6859d5b315c4af (diff)
downloadopenttd-eb0d43aadd6f423fa961dd81e4fdfb49ce9e92a2.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;
}