diff options
author | Shocker <shocker@freakz.ro> | 2012-03-16 15:01:57 -0700 |
---|---|---|
committer | Shocker <shocker@freakz.ro> | 2012-03-16 15:01:57 -0700 |
commit | 91314b4cc30edbe498a8e949e37e4eca608ca617 (patch) | |
tree | ae363cf32c63f4b158f187a49038d65e967368b2 /src | |
parent | 97f5a06d34285d4a22e2ecb94880982ef7c95256 (diff) | |
parent | e0da136c3683c86c6899b1ded98c0bbc1a50d6ff (diff) |
Merge pull request #5743 from MrSmite/PetAI_2
Core/Pets: Fix the Attack button to stop flashing after combat end
Diffstat (limited to 'src')
-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 985eafaf703..295768f9d3e 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(); |