summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-04-14 20:29:39 +0000
committerrubidium <rubidium@openttd.org>2010-04-14 20:29:39 +0000
commita6f46657ab887470381d16b8afe68b4c15fcf24f (patch)
treea45eef449e08b61f3a446d00257fa67368fc0c29
parent0f656010c81ac31be8fd59280b427138dce411ff (diff)
downloadopenttd-a6f46657ab887470381d16b8afe68b4c15fcf24f.tar.xz
(svn r19638) -Change: log the _date and _date_fract in the desync log for saved games
-rw-r--r--src/saveload/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index 48c490f6f..329ca2a5c 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -1884,7 +1884,7 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb, boo
/* General tactic is to first save the game to memory, then use an available writer
* to write it to file, either in threaded mode if possible, or single-threaded */
if (mode == SL_SAVE) { // SAVE game
- DEBUG(desync, 1, "save: %s", filename);
+ DEBUG(desync, 1, "save: %08x; %02x; %s", _date, _date_fract, filename);
_sl.write_bytes = WriteMem;
_sl.excpt_uninit = UnInitMem;