From 860a39af2ad2b891a0e191317d6e93be0087ab46 Mon Sep 17 00:00:00 2001 From: darkvater Date: Sun, 5 Dec 2004 20:02:49 +0000 Subject: (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)). --- ttd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ttd.c') 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); } -- cgit v1.2.3-54-g00ecf