[11533] Fixed wrong call IsFitToFamilyMask in my prev commit.

Also prevent like wrong usage in future by additional check.
This commit is contained in:
VladimirMangos 2011-05-24 17:48:17 +04:00
parent da06d09c45
commit b5c3ec952f
3 changed files with 6 additions and 2 deletions

View file

@ -3988,7 +3988,7 @@ SpellAuraProcResult Unit::HandleModResistanceAuraProc(Unit* /*pVictim*/, uint32
SpellEntry const *spellInfo = triggeredByAura->GetSpellProto();
// Inner Fire
if (spellInfo->IsFitToFamilyMask(SPELLFAMILY_PRIEST, UI64LIT(0x0000000000002)))
if (spellInfo->IsFitToFamily(SPELLFAMILY_PRIEST, UI64LIT(0x0000000000002)))
{
// only at real damage
if (!damage)