summaryrefslogtreecommitdiff
path: root/src/saveload.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-03 16:35:25 +0000
committerrubidium <rubidium@openttd.org>2009-01-03 16:35:25 +0000
commit455a6e4554f7b65e0c68bc9fe44ee558e5524ea3 (patch)
treee800e447d7f007d208a43223d1b592628047557f /src/saveload.cpp
parent16fb54da5e6bf3e515082f7f06afe19bac0f24af (diff)
downloadopenttd-455a6e4554f7b65e0c68bc9fe44ee558e5524ea3.tar.xz
(svn r14809) -Fix (r14802): forgotten !
Diffstat (limited to 'src/saveload.cpp')
-rw-r--r--src/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload.cpp b/src/saveload.cpp
index ebbba0edf..eb46fe094 100644
--- a/src/saveload.cpp
+++ b/src/saveload.cpp
@@ -1855,7 +1855,7 @@ void GenerateDefaultSaveName(char *buf, const char *last)
SetDParam(2, _date);
/* 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);
}