[8419] Allow updating pet stats at loading more early (before InitStatsForLevel).

This commit is contained in:
VladimirMangos 2009-08-25 15:32:35 +04:00
parent 0c78bfba33
commit 344c03fc03
2 changed files with 2 additions and 2 deletions

View file

@ -224,6 +224,7 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool
if(owner->IsPvP())
SetPvP(true);
SetCanModifyStats(true);
InitStatsForLevel(petlevel);
InitTalentForLevel(); // set original talents points before spell loading
@ -263,7 +264,6 @@ bool Pet::LoadPetFromDB( Player* owner, uint32 petentry, uint32 petnumber, bool
delete result;
//load spells/cooldowns/auras
SetCanModifyStats(true);
_LoadAuras(timediff);
//init AB