Core/Misc: Replace time(nullptr) with GameTime::GetGameTime()

This commit is contained in:
jackpoz authored and Ovahlord committed 2020-01-11 03:30:41 +01:00
1 parent b1165e3778
commit 131986d1c2
66 files changed
+324 -258

No files matched your search

+1 -1
View File
@@ -1154,7 +1154,7 @@ void MovementInfo::OutDebug()
TC_LOG_DEBUG("misc", "%s", guid.ToString().c_str());
TC_LOG_DEBUG("misc", "flags %u", flags);
TC_LOG_DEBUG("misc", "flags2 %u", flags2);
TC_LOG_DEBUG("misc", "time %u current time " UI64FMTD "", flags2, uint64(::time(nullptr)));
TC_LOG_DEBUG("misc", "time %u current time " UI64FMTD "", flags2, uint64(::GameTime::GetGameTime()));
TC_LOG_DEBUG("misc", "position: `%s`", pos.ToString().c_str());
if (transport.guid)
{