mirror of https://github.com/OpenTTD/OpenTTD
parent
d48a48b2cf
commit
3b3c9c1c3a
|
@ -1016,7 +1016,7 @@ static GRFConfig *GRFLoadConfig(IniFile &ini, const char *grpname, bool is_stati
|
||||||
SetDParam(1, STR_CONFIG_ERROR_INVALID_GRF_UNKNOWN);
|
SetDParam(1, STR_CONFIG_ERROR_INVALID_GRF_UNKNOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
SetDParamStr(0, StrEmpty(filename) ? item->name : filename);
|
SetDParamStr(0, StrEmpty(filename) ? item->name.c_str() : filename);
|
||||||
ShowErrorMessage(STR_CONFIG_ERROR, STR_CONFIG_ERROR_INVALID_GRF, WL_CRITICAL);
|
ShowErrorMessage(STR_CONFIG_ERROR, STR_CONFIG_ERROR_INVALID_GRF, WL_CRITICAL);
|
||||||
delete c;
|
delete c;
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue