Core/Logs: Log full guid instead of just low guid, part 2

(cherry picked from commit 3def52c1c459f566ab2b2d8cf017c70df4d7cf22)
This commit is contained in:
Giacomo Pozzoni
2022-01-01 00:51:54 +01:00
committed by Shauren
parent 363db46c43
commit a9e325f6b7
30 changed files with 161 additions and 186 deletions
+2 -2
View File
@@ -3142,8 +3142,8 @@ void WorldObject::MovePosition(Position &pos, float dist, float angle)
// Prevent invalid coordinates here, position is unchanged
if (!Trinity::IsValidMapCoord(destx, desty, pos.m_positionZ))
{
TC_LOG_FATAL("misc", "WorldObject::MovePosition: Object (Entry: %u %s) has invalid coordinates X: %f and Y: %f were passed!",
GetEntry(), GetGUID().ToString().c_str(), destx, desty);
TC_LOG_FATAL("misc", "WorldObject::MovePosition: Object %s has invalid coordinates X: %f and Y: %f were passed!",
GetGUID().ToString().c_str(), destx, desty);
return;
}