[7162] Converted some uint16 spellid parameteres to uint32. It can provide little speedup.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-01-24 18:41:35 +01:00
parent 475e8cbcf6
commit 302dc70eab
5 changed files with 18 additions and 18 deletions

View file

@ -3559,7 +3559,7 @@ void Player::DestroyForPlayer( Player *target ) const
bool Player::HasSpell(uint32 spell) const
{
PlayerSpellMap::const_iterator itr = m_spells.find((uint16)spell);
PlayerSpellMap::const_iterator itr = m_spells.find(spell);
return (itr != m_spells.end() && itr->second->state != PLAYERSPELL_REMOVED && !itr->second->disabled);
}