From 1f55797fe3c75ec61ea69e6fa38ca2e4d817d30e Mon Sep 17 00:00:00 2001 From: smatz Date: Tue, 3 Jun 2008 18:35:58 +0000 Subject: (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details --- src/misc.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/misc.cpp') diff --git a/src/misc.cpp b/src/misc.cpp index 9c1cb82ed..f89f233c5 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -25,6 +25,7 @@ #include "texteff.hpp" #include "gfx_func.h" #include "core/alloc_type.hpp" +#include "gamelog.h" #include "animated_tile_func.h" #include "tilehighlight_func.h" #include "core/bitmath_func.hpp" @@ -110,6 +111,13 @@ void InitializeGame(uint size_x, uint size_y, bool reset_date) InitializeLandscapeVariables(false); ResetObjectToPlace(); + + GamelogReset(); + GamelogStartAction(GLAT_START); + GamelogRevision(); + GamelogMode(); + GamelogGRFAddList(_grfconfig); + GamelogStopAction(); } -- cgit v1.2.3-70-g09d2