Fix a bug introdouced in recent commit.
This commit is contained in:
@@ -158,7 +158,7 @@ void CasterAI::UpdateAI(const uint32 diff)
|
||||
|
||||
events.Update(diff);
|
||||
|
||||
if (me->getVictim()->HasBreakableByDamageCrowdControlAura())
|
||||
if (me->getVictim()->HasBreakableByDamageCrowdControlAura(me))
|
||||
{
|
||||
me->InterruptNonMeleeSpells(false);
|
||||
return;
|
||||
|
||||
@@ -92,7 +92,7 @@ void PetAI::UpdateAI(const uint32 diff)
|
||||
if (me->getVictim())
|
||||
{
|
||||
// is only necessary to stop casting, the pet must not exit combat
|
||||
if (me->getVictim()->HasBreakableByDamageCrowdControlAura())
|
||||
if (me->getVictim()->HasBreakableByDamageCrowdControlAura(me))
|
||||
{
|
||||
me->InterruptNonMeleeSpells(false);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user