Fixed pet talents amount exploit

Closes issue #3273.

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-08-05 11:33:54 +02:00
parent e659c3faf3
commit a042b972ed
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -301,6 +301,7 @@ bool Pet::LoadPetFromDB(Player* owner, uint32 petentry, uint32 petnumber, bool c
m_charmInfo->LoadPetActionBar(fields[13].GetCppString());
_LoadSpells();
InitTalentForLevel(); // re-init to check talent count
_LoadSpellCooldowns();
LearnPetPassives();
InitLevelupSpellsForLevel();