summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-21 15:23:49 +0000
committerrubidium <rubidium@openttd.org>2009-02-21 15:23:49 +0000
commit81d8e55c3883cb6537284e7888ce077df8c39d57 (patch)
tree1801ccd0a1f01bc8109f7c90fa1bce2eaba90f5f /src
parent8316c4381fca1c51dab469e9209268421c9a50e4 (diff)
downloadopenttd-81d8e55c3883cb6537284e7888ce077df8c39d57.tar.xz
(svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators.
Diffstat (limited to 'src')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 416dfa47d..a85c5da92 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -1114,7 +1114,7 @@ static void DoAutosave()
if (_networking) return;
#endif /* PSP */
- if (_settings_client.gui.keep_all_autosave && _local_company != COMPANY_SPECTATOR) {
+ if (_settings_client.gui.keep_all_autosave) {
GenerateDefaultSaveName(buf, lastof(buf));
strecat(buf, ".sav", lastof(buf));
} else {