mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
feat(Core/Compression): Move packets compression from map to network thread (#18602)
* feat(Code/Compression): Move packets compression from map to network thread. * Code style fix * Remove unicode letter
This commit is contained in:
committed by
GitHub
parent
3ff8de2086
commit
73340b94e3
@@ -520,7 +520,7 @@ bool Group::AddMember(Player* player)
|
||||
player->BuildValuesUpdateBlockForPlayer(&newData, itrMember);
|
||||
if (newData.HasData())
|
||||
{
|
||||
newData.BuildPacket(&newDataPacket);
|
||||
newData.BuildPacket(newDataPacket);
|
||||
itrMember->SendDirectMessage(&newDataPacket);
|
||||
}
|
||||
}
|
||||
@@ -529,7 +529,7 @@ bool Group::AddMember(Player* player)
|
||||
|
||||
if (groupData.HasData())
|
||||
{
|
||||
groupData.BuildPacket(&groupDataPacket);
|
||||
groupData.BuildPacket(groupDataPacket);
|
||||
player->SendDirectMessage(&groupDataPacket);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user