diff options
-rw-r--r-- | src/game/SpellEffects.cpp | 2 | ||||
-rw-r--r-- | src/game/Unit.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index fb54844430a..f805c7b2ac8 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4046,6 +4046,8 @@ void Spell::EffectTameCreature(uint32 /*i*/) // caster have pet now m_caster->SetMinion(pet, true); + + pet->InitTalentForLevel(); if(m_caster->GetTypeId() == TYPEID_PLAYER) { diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 80ee7bd359b..d0a7e41abcb 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -13242,7 +13242,6 @@ Pet* Unit::CreateTamedPetFrom(Creature* creatureTarget,uint32 spell_id) // this enables pet details window (Shift+P) pet->InitPetCreateSpells(); //pet->InitLevelupSpellsForLevel(); - pet->InitTalentForLevel(); pet->SetHealth(pet->GetMaxHealth()); return pet; |