summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-05 20:02:49 +0000
committerdarkvater <darkvater@openttd.org>2004-12-05 20:02:49 +0000
commit5b18e2328a8eb62fd237d3ab30fa376830f70cb9 (patch)
treef5f39c2833b8d229f0d2a5558ada8b3d01fb0887 /ttd.c
parent54d3f2aff375becbe19ccfd32dfc806b7ef59532 (diff)
downloadopenttd-5b18e2328a8eb62fd237d3ab30fa376830f70cb9.tar.xz
(svn r959) -Fix: fix previous typo for workaround of braindead MSVC6 (Tron)
-Fix: added debug code to autosave cause it is buggy in multiplayer (does not remember settings; takes them from _opt instead of _new_opt (or vice versa)).
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ttd.c b/ttd.c
index 7fd59d05a..574756ee6 100644
--- a/ttd.c
+++ b/ttd.c
@@ -1015,6 +1015,7 @@ static void DoAutosave()
sprintf(buf, "%s%sautosave%d.sav", _path.autosave_dir, PATHSEP, n);
}
+ DEBUG(misc, 2) ("Autosaving to %s", buf);
if (SaveOrLoad(buf, SL_SAVE) != SL_OK)
ShowErrorMessage(INVALID_STRING_ID, STR_AUTOSAVE_FAILED, 0, 0);
}