(svn r10114) -Fix: Only load newgrf error messages if the language matches the current

language. Since only one error can be loaded anyway, if the language didn't
match you'd get "Undefined string". Also since we're only loading one language
there's no need to use AddGRFString any more.
This commit is contained in:
maedhros
2007-06-12 13:22:14 +00:00
parent d1e71eb34e
commit 109dd33c4a
6 changed files with 41 additions and 17 deletions

View File

@@ -13,4 +13,6 @@ void CleanUpStrings();
void SetCurrentGrfLangID(const char *iso_name);
char *TranslateTTDPatchCodes(const char *str);
bool CheckGrfLangID(byte lang_id, byte grf_version);
#endif /* NEWGRF_TEXT_H */