*Remove the assert(false) in StopCastingCharm() because i am not able to fix it for now.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-06 11:32:56 -05:00
parent 7dd131a293
commit e1cfdaedcf

View File

@@ -16933,8 +16933,13 @@ void Player::StopCastingCharm()
if(GetCharmGUID())
{
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);
if(charm->GetCharmerGUID())
{
sLog.outCrash("Charmed unit has charmer guid " UI64FMTD, charm->GetCharmerGUID());
assert(false);
}
else
SetCharm(charm, false);
}
}