mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
* Fix visual bug that makes client believe that his recently tamed pet has no talent points.
--HG-- branch : trunk
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user