aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMrSmite <no_mail@email.com>2012-03-16 16:02:18 -0400
committerMrSmite <no_mail@email.com>2012-03-16 16:02:18 -0400
commite0da136c3683c86c6899b1ded98c0bbc1a50d6ff (patch)
treecf87e3d89dde0f926da3596b8f5df5bf9e426ccf
parent671fd4176a2000b5dd8cdb5b009bc13046dc9bc1 (diff)
Pet UI - Fix for "Attack" continues to flash after combat end
Closes 5551
-rwxr-xr-xsrc/server/game/AI/CoreAI/PetAI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/AI/CoreAI/PetAI.cpp b/src/server/game/AI/CoreAI/PetAI.cpp
index eedba4d8b7e..cb7087b5b1a 100755
--- a/src/server/game/AI/CoreAI/PetAI.cpp
+++ b/src/server/game/AI/CoreAI/PetAI.cpp
@@ -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();