aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 4f0bd135df3..8bbb27a61d9 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -3558,6 +3558,14 @@ bool Player::resetTalents(bool no_cost)
//FIXME: remove pet before or after unlearn spells? for now after unlearn to allow removing of talent related, pet affecting auras
RemovePet(NULL,PET_SAVE_NOT_IN_SLOT, true);
+ /* when prev line will dropped use next line
+ if(Pet* pet = GetPet())
+ {
+ if(pet->getPetType()==HUNTER_PET && !pet->GetCreatureInfo()->isTameable(CanTameExoticPets()))
+ RemovePet(NULL,PET_SAVE_NOT_IN_SLOT, true);
+ }
+ */
+
if(m_canTitanGrip)
{