mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Pet UI - Fix for "Attack" continues to flash after combat end
Closes 5551
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user