*Remove an assert and use error log instead.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-17 10:30:39 -06:00
parent d6a1516057
commit c24e336387
+4 -1
View File
@@ -16332,7 +16332,10 @@ void Player::Uncharm()
charm->RemoveSpellsCausingAura(SPELL_AURA_MOD_POSSESS);
}
assert(!GetCharmGUID());
if(GetCharmGUID())
{
sLog.outError("CRASH ALARM! Player %s is not able to uncharm unit (Entry: %u, Type: %u)", GetName(), charm->GetEntry(), charm->GetTypeId());
}
}
void Player::BuildPlayerChat(WorldPacket *data, uint8 msgtype, const std::string& text, uint32 language) const