aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-27 18:56:47 -0500
committermegamage <none@none>2009-06-27 18:56:47 -0500
commitd87133961a740ebc43fd5fa5fae69d161240b7cc (patch)
tree3822a249afce4e6e6d60de7b1e8e72c68daf8e05 /src/game/Player.cpp
parentbd5a53a774104e97eb653a51ee8b2cadc21efa82 (diff)
*Add some error log for debug.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 5f376b19a91..0c3438ae509 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -16850,7 +16850,8 @@ void Player::StopCastingCharm()
if(GetCharmGUID())
{
- sLog.outCrash("Player %s is not able to uncharm unit (Entry: %u, Type: %u)", GetName(), charm->GetEntry(), charm->GetTypeId());
+ sLog.outCrash("Player %s (GUID: " UI64FMTD " is not able to uncharm unit (GUID: " UI64FMTD " Entry: %u, Type: %u)", GetName(), GetGUID(), GetCharmGUID(), charm->GetEntry(), charm->GetTypeId());
+ sLog.outCrash("Charmed unit has charmer guid " UI64FMTD, charm->GetCharmerGUID());
assert(false);
}
}