mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Groups: followup change for player group updates when changing zones
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user