[11752] fix spell mod sending

This commit is contained in:
Laise 2011-07-25 07:23:00 +03:00
parent f07a3232d4
commit ab062be208
2 changed files with 2 additions and 2 deletions

View file

@ -18593,7 +18593,7 @@ void Player::AddSpellMod(Aura* aura, bool apply)
else
_mask2= uint32(1) << (eff - 64);
if (aura->GetSpellProto()->IsFitToFamilyMask(_mask, _mask2))
if (aura->GetAuraSpellClassMask().IsFitToFamilyMask(_mask, _mask2))
{
int32 val = 0;
for (AuraList::const_iterator itr = m_spellMods[mod->m_miscvalue].begin(); itr != m_spellMods[mod->m_miscvalue].end(); ++itr)