(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

@@ -36,8 +36,9 @@ struct GRFIdentifier {
};
struct GRFError {
char *custom_message;
char *data;
StringID message;
StringID data;
StringID severity;
uint8 num_params;
uint8 param_number[2];