aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent_Michael <Vincent_Michael@gmx.de>2013-10-18 12:36:54 +0200
committerVincent_Michael <Vincent_Michael@gmx.de>2013-10-18 12:36:54 +0200
commit47741f4fa647431d4bd045115c0a2452154384e1 (patch)
treec517b6d1b064bb5877a5b25d1f0d801cf83816a8
parent94161a8341a2e0674a265eebf7935e4153fe0d2e (diff)
Core/Object: Added more information for MovePosition log
-rw-r--r--src/server/game/Entities/Object/Object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Entities/Object/Object.cpp b/src/server/game/Entities/Object/Object.cpp
index 2eb0fd65149..1471e966045 100644
--- a/src/server/game/Entities/Object/Object.cpp
+++ b/src/server/game/Entities/Object/Object.cpp
@@ -2673,7 +2673,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(LOG_FILTER_GENERAL, "WorldObject::MovePosition invalid coordinates X: %f and Y: %f were passed!", destx, desty);
+ TC_LOG_FATAL(LOG_FILTER_GENERAL, "WorldObject::MovePosition: Object (TypeId: %u Entry: %u GUID: %u) has invalid coordinates X: %f and Y: %f were passed!",
+ GetTypeId(), GetEntry(), GetGUIDLow(), destx, desty);
return;
}