From 559df766990d5a32128e6a0ce72e801b6554c0b1 Mon Sep 17 00:00:00 2001 From: maximius Date: Wed, 18 Nov 2009 02:42:55 -0800 Subject: *Hunter pets should now have their talents refunded when a hunter switches talent specs, even if they are dismissed at the time. --HG-- branch : trunk --- src/game/Player.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/game/Player.cpp b/src/game/Player.cpp index c93047b3f84..6c2ad19ae02 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -21991,6 +21991,10 @@ void Player::ActivateSpec(uint8 spec) if (IsNonMeleeSpellCasted(false)) InterruptNonMeleeSpells(false); + // "Hunter pets should have their talents refunded when a hunter switches talent specs, even if they are dismissed at the time." + if (getClass() == CLASS_HUNTER) + Pet::resetTalentsForAllPetsOf(this, GetPet()); + UnsummonPetTemporaryIfAny(); ClearComboPointHolders(); ClearAllReactives(); -- cgit v1.2.3