mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[7208] Lost chnage from prev, commit. Fix crash at player loading.
This commit is contained in:
parent
aa24bd836e
commit
9d83c18591
2 changed files with 4 additions and 3 deletions
|
|
@ -11322,6 +11322,7 @@ void Unit::SetPhaseMask(uint32 newPhaseMask, bool update)
|
|||
{
|
||||
WorldObject::SetPhaseMask(newPhaseMask,update);
|
||||
|
||||
if(Pet* pet = GetPet())
|
||||
pet->SetPhaseMask(newPhaseMask,true);
|
||||
if(IsInWorld())
|
||||
if(Pet* pet = GetPet())
|
||||
pet->SetPhaseMask(newPhaseMask,true);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue