summaryrefslogtreecommitdiff
path: root/src
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
commit05dd711363e2b55cff510963debbd9843734e0ac (patch)
treee800e447d7f007d208a43223d1b592628047557f /src
parent5ba7c672da004302fb9ffbb2cc4d47d5fd8dfa6a (diff)
downloadopenttd-05dd711363e2b55cff510963debbd9843734e0ac.tar.xz
(svn r14809) -Fix (r14802): forgotten !
Diffstat (limited to 'src')
-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);
}