forked from mirror/OpenTTD
(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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user