*Add some error log for debug.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-06-27 18:56:47 -05:00
1 parent bd5a53a774
commit d87133961a
2 files changed
+7 -1

No files matched your search

+5
View File
@@ -14107,7 +14107,12 @@ void Unit::RemoveCharmedBy(Unit *charmer)
if(!charmer)
charmer = GetCharmer();
else if(charmer != GetCharmer()) // one aura overrides another?
{
sLog.outCrash("Unit::RemoveCharmedBy: this: " UI64FMTD " true charmer: " UI64FMTD " false charmer: " UI64FMTD,
GetGUID(), GetCharmerGUID(), charmer->GetGUID());
assert(false);
return;
}
CharmType type;
if(hasUnitState(UNIT_STAT_POSSESSED))