- finally found and fixed out of synch related to AI.

- added ability to log all unit activity to world synch logfiles so we can diff game info from different network clients
This commit is contained in:
Mark Vejvoda
2010-11-30 23:32:39 +00:00
parent e62f3ca64c
commit b02da7d1e0
13 changed files with 300 additions and 84 deletions

View File

@@ -366,7 +366,8 @@ void SystemFlags::handleDebug(DebugType type, const char *fmt, ...) {
if(currentDebugLog.fileStream->is_open() == true) {
MutexSafeWrapper safeMutex(currentDebugLog.mutex);
if (type != debugPathFinder && type != debugError) {
// All items in the if clause we don't want timestamps
if (type != debugPathFinder && type != debugError && type != debugWorldSynch) {
(*currentDebugLog.fileStream) << "[" << szBuf2 << "] " << szBuf;
}
else if (type == debugError) {