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:
@@ -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];
|
||||
|
Reference in New Issue
Block a user