From e0da136c3683c86c6899b1ded98c0bbc1a50d6ff Mon Sep 17 00:00:00 2001 From: MrSmite Date: Fri, 16 Mar 2012 16:02:18 -0400 Subject: Pet UI - Fix for "Attack" continues to flash after combat end Closes 5551 --- src/server/game/AI/CoreAI/PetAI.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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(); -- cgit v1.2.3