Core/Groups: defined some unknown group update flags seen in sniff packets and send pet group update packets only if the player actually has a pet

* corrected some data types for group update packets to reflect wpp fields
This commit is contained in:
Ovahlord committed 2019-08-22 20:24:55 +02:00
1 parent c6f6861dbf
commit 3e4568d68a
4 files changed
+37 -23

No files matched your search

+3
View File
@@ -485,6 +485,9 @@ bool Group::AddMember(Player* player)
}
}
player->SetGroupUpdateFlag(GROUP_UPDATE_FULL);
if (player->GetPet())
player->SetGroupUpdateFlag(GROUP_UPDATE_PET);
UpdatePlayerOutOfRange(player);
// quest related GO state dependent from raid membership