From bca6b5a8fb669529d859e6f18f875e09834f0c92 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 17 May 2013 01:32:29 +0000 Subject: [PATCH] better logging of unit movement header and footer info --- source/glest_game/type_instances/unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/type_instances/unit.cpp b/source/glest_game/type_instances/unit.cpp index 8b3c36bac..c1c7badb3 100644 --- a/source/glest_game/type_instances/unit.cpp +++ b/source/glest_game/type_instances/unit.cpp @@ -3536,13 +3536,13 @@ void Unit::logSynchData(string file,int line,string source) { lastFile = file; lastSource = source; - SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"----------------------------------- START [%d] ------------------------------------------------\n",getFrameCount()); + SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"----------------------------------- START [FRAME %d UNIT: %d - %s] ------------------------------------------------\n",getFrameCount(),this->id,this->getType()->getName().c_str()); SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"[%s::%d]\n",extractFileFromDirectoryPath(file).c_str(),line); if(source != "") { SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"%s ",source.c_str()); } SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"%s\n",szBuf); - SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"------------------------------------ END [%d] -------------------------------------------------\n",getFrameCount()); + SystemFlags::OutputDebug(SystemFlags::debugWorldSynch,"------------------------------------ END [[FRAME %d UNIT: %d - %s] ------------------------------------------------\n",getFrameCount(),this->id,this->getType()->getName().c_str()); } } }