[10416] fix 71611 proc and remove check for family name if no spell_proc_event is defined

This commit is contained in:
Laise 2010-08-28 09:28:53 +03:00
parent 5a421a91b4
commit 821444445b
6 changed files with 10 additions and 7 deletions

View file

@ -940,10 +940,6 @@ bool Aura::CanProcFrom(SpellEntry const *spell, uint32 EventProcEx, uint32 procE
}
else
{
// Check family name
if (spell->SpellFamilyName != GetSpellProto()->SpellFamilyName)
return false;
if (((uint64*)ptr)[0] & spell->SpellFamilyFlags)
return true;