(svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code.

This commit is contained in:
rubidium
2009-03-13 00:30:26 +00:00
parent f6e4bc765a
commit eb0d43aadd
58 changed files with 75 additions and 110 deletions

View File

@@ -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;
}