mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-06-20 18:11:37 +00:00
[General] Compress strings used in Worldstate packets
This commit is contained in:
parent
154a9ce5a6
commit
9cb9d4b7ca
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ void PacketClientScriptSettings::Packet(RakNet::BitStream *newBitstream, bool se
|
|||
|
||||
for (auto &&clientScriptId : worldstate->synchronizedClientScriptIds)
|
||||
{
|
||||
RW(clientScriptId, send);
|
||||
RW(clientScriptId, send, true);
|
||||
}
|
||||
|
||||
uint32_t clientGlobalsCount;
|
||||
|
@ -46,6 +46,6 @@ void PacketClientScriptSettings::Packet(RakNet::BitStream *newBitstream, bool se
|
|||
|
||||
for (auto &&clientGlobalId : worldstate->synchronizedClientGlobalIds)
|
||||
{
|
||||
RW(clientGlobalId, send);
|
||||
RW(clientGlobalId, send, true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,6 +33,6 @@ void PacketWorldCollisionOverride::Packet(RakNet::BitStream *newBitstream, bool
|
|||
|
||||
for (auto &&enforcedCollisionRefId : worldstate->enforcedCollisionRefIds)
|
||||
{
|
||||
RW(enforcedCollisionRefId, send);
|
||||
RW(enforcedCollisionRefId, send, true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue