Fix a bug introdouced in recent commit.

This commit is contained in:
Giuseppe Montesanto
2012-02-05 21:22:01 +01:00
parent 5019e9d353
commit 9a3a6c7641
5 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;