diff options
author | maximius <none@none> | 2009-11-18 02:42:55 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-18 02:42:55 -0800 |
commit | 559df766990d5a32128e6a0ce72e801b6554c0b1 (patch) | |
tree | 711c4e866662bcf3319e2cb438dbdc5670bf5e05 /src | |
parent | 977692c07081e3ffb9076f41d6b15a00ee36b085 (diff) |
*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
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 4 |
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(); |