Merge pull request #5743 from MrSmite/PetAI_2

Core/Pets: Fix the Attack button to stop flashing after combat end
This commit is contained in:
Shocker
2012-03-16 15:01:57 -07:00
+1
View File
@@ -278,6 +278,7 @@ void PetAI::KilledUnit(Unit* victim)
// next target selection
me->AttackStop();
me->GetCharmInfo()->SetIsCommandAttack(false);
me->SendMeleeAttackStop(); // Stops the pet's 'Attack' button from flashing
Unit* nextTarget = SelectNextTarget();