*Remove an assert and use error log instead.
--HG-- branch : trunk
This commit is contained in:
+4
-1
@@ -16332,7 +16332,10 @@ void Player::Uncharm()
|
|||||||
charm->RemoveSpellsCausingAura(SPELL_AURA_MOD_POSSESS);
|
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
|
void Player::BuildPlayerChat(WorldPacket *data, uint8 msgtype, const std::string& text, uint32 language) const
|
||||||
|
|||||||
Reference in New Issue
Block a user