aboutsummaryrefslogtreecommitdiff
path: root/src/game/World.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/World.cpp')
-rw-r--r--src/game/World.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index 749b9dc8826..5abdb17d6cf 100644
--- a/src/game/World.cpp
+++ b/src/game/World.cpp
@@ -1428,17 +1428,15 @@ void World::RecordTimeDiff(const char *text, ...)
return;
}
- sLog.outDebugInLine("Difftime ");
+ uint32 thisTime = getMSTime();
va_list ap;
char str [256];
va_start(ap, text);
vsnprintf(str,256,text, ap );
va_end(ap);
- sLog.outDebugInLine(str);
+ sLog.outDetail("Difftime %s: %u.", str, getMSTimeDiff(m_currentTime, thisTime));
- uint32 thisTime = getMSTime();
- sLog.outDebug(": %u.", getMSTimeDiff(m_currentTime, thisTime));
m_currentTime = thisTime;
}