mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 18:39:10 +00:00
(svn r19877) -Change: Name invalid engines, cargos and industries 'invalid', if the player removed the supplying NewGRFs.
This commit is contained in:
@@ -998,7 +998,7 @@ static char *FormatString(char *buff, const char *str, int64 *argv, uint casei,
|
||||
|
||||
assert(e != NULL);
|
||||
|
||||
if (e->name != NULL) {
|
||||
if (e->name != NULL && e->info.string_id != STR_NEWGRF_INVALID_ENGINE) {
|
||||
buff = strecpy(buff, e->name, last);
|
||||
} else {
|
||||
buff = GetStringWithArgs(buff, e->info.string_id, NULL, last);
|
||||
|
Reference in New Issue
Block a user