Core/Phases: Removed some of the usages of phasemask in the Pet code.
This commit is contained in:
1 parent
66a40f5e91
commit
44c14799f3
4 files changed
+12
-10
No files matched your search
@@ -13404,6 +13404,9 @@ bool Unit::InitTamedPet(Pet* pet, uint8 level, uint32 spell_id)
|
||||
return false;
|
||||
}
|
||||
|
||||
for (auto phase : GetPhases())
|
||||
pet->SetInPhase(phase, false, true);
|
||||
|
||||
pet->GetCharmInfo()->SetPetNumber(sObjectMgr->GeneratePetNumber(), true);
|
||||
// this enables pet details window (Shift+P)
|
||||
pet->InitPetCreateSpells();
|
||||
|
||||
Reference in new issue
Block a user