aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/Player.cpp4
1 files changed, 4 insertions, 0 deletions
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();