Pet UI - Fix for "Attack" continues to flash after combat end

Closes 5551
This commit is contained in:
MrSmite
2012-03-16 16:02:18 -04:00
parent 671fd4176a
commit e0da136c36

View File

@@ -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();