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:
@@ -278,6 +278,7 @@ void PetAI::KilledUnit(Unit* victim)
|
|||||||
// next target selection
|
// next target selection
|
||||||
me->AttackStop();
|
me->AttackStop();
|
||||||
me->GetCharmInfo()->SetIsCommandAttack(false);
|
me->GetCharmInfo()->SetIsCommandAttack(false);
|
||||||
|
me->SendMeleeAttackStop(); // Stops the pet's 'Attack' button from flashing
|
||||||
|
|
||||||
Unit* nextTarget = SelectNextTarget();
|
Unit* nextTarget = SelectNextTarget();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user