mirror of https://github.com/OpenTTD/OpenTTD
(svn r14809) -Fix (r14802): forgotten !
parent
16fb54da5e
commit
455a6e4554
|
@ -1855,7 +1855,7 @@ void GenerateDefaultSaveName(char *buf, const char *last)
|
||||||
SetDParam(2, _date);
|
SetDParam(2, _date);
|
||||||
|
|
||||||
/* Get the correct string (special string for when there's not company) */
|
/* Get the correct string (special string for when there's not company) */
|
||||||
GetString(buf, IsValidCompanyID(cid) ? STR_GAME_SAVELOAD_SPECTATOR_SAVEGAME : STR_4004, last);
|
GetString(buf, !IsValidCompanyID(cid) ? STR_GAME_SAVELOAD_SPECTATOR_SAVEGAME : STR_4004, last);
|
||||||
SanitizeFilename(buf);
|
SanitizeFilename(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue