*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
This commit is contained in:
maximius
2009-11-18 02:42:55 -08:00
parent 977692c070
commit 559df76699
+4
View File
@@ -21991,6 +21991,10 @@ void Player::ActivateSpec(uint8 spec)
if (IsNonMeleeSpellCasted(false)) if (IsNonMeleeSpellCasted(false))
InterruptNonMeleeSpells(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(); UnsummonPetTemporaryIfAny();
ClearComboPointHolders(); ClearComboPointHolders();
ClearAllReactives(); ClearAllReactives();