diff options
| author | MrSmite <no_mail@email.com> | 2012-03-16 16:02:18 -0400 |
|---|---|---|
| committer | MrSmite <no_mail@email.com> | 2012-03-16 16:02:18 -0400 |
| commit | e0da136c3683c86c6899b1ded98c0bbc1a50d6ff (patch) | |
| tree | cf87e3d89dde0f926da3596b8f5df5bf9e426ccf | |
| parent | 671fd4176a2000b5dd8cdb5b009bc13046dc9bc1 (diff) | |
Pet UI - Fix for "Attack" continues to flash after combat end
Closes 5551
| -rwxr-xr-x | src/server/game/AI/CoreAI/PetAI.cpp | 1 |
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(); |
