aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2012-10-20 13:01:03 +0200
committerShauren <shauren.trinity@gmail.com>2012-10-20 13:01:03 +0200
commitc343448989916df4fa41f42b57c5629e9997603d (patch)
tree6adb403067f9ec12fdf5dd88a95505a5945d0302
parentc40e9e259599273b4317fe7a980c8f487e6f76e2 (diff)
Core/Entities: Corrected error log message, thanks zorix for noticing
-rwxr-xr-xsrc/server/game/Entities/DynamicObject/DynamicObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/DynamicObject/DynamicObject.cpp b/src/server/game/Entities/DynamicObject/DynamicObject.cpp
index a8f8d54c6d6..312f858751b 100755
--- a/src/server/game/Entities/DynamicObject/DynamicObject.cpp
+++ b/src/server/game/Entities/DynamicObject/DynamicObject.cpp
@@ -85,7 +85,7 @@ bool DynamicObject::CreateDynamicObject(uint32 guidlow, Unit* caster, SpellInfo
Relocate(pos);
if (!IsPositionValid())
{
- sLog->outError(LOG_FILTER_GENERAL, "DynamicObject (spell %u) not created. Suggested coordinates isn't valid (X: %f Y: %f)", spell, GetPositionX(), GetPositionY());
+ sLog->outError(LOG_FILTER_GENERAL, "DynamicObject (spell %u) not created. Suggested coordinates isn't valid (X: %f Y: %f)", spell->Id, GetPositionX(), GetPositionY());
return false;
}