Core/Groups: followup change for player group updates when changing zones

This commit is contained in:
Ovahlord
2019-08-22 21:06:01 +02:00
parent 3e4568d68a
commit 1cb0430ffc

View File

@@ -7579,7 +7579,11 @@ void Player::UpdateZone(uint32 newZone, uint32 newArea)
// group update
if (GetGroup())
{
SetGroupUpdateFlag(GROUP_UPDATE_FULL);
if (GetPet())
SetGroupUpdateFlag(GROUP_UPDATE_PET);
}
// zone changed, so area changed as well, update it
UpdateArea(newArea);