1
0
Fork 1
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:
David Cernat 2019-12-04 11:01:50 +02:00
parent 154a9ce5a6
commit 9cb9d4b7ca
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}
}

View file

@ -33,6 +33,6 @@ void PacketWorldCollisionOverride::Packet(RakNet::BitStream *newBitstream, bool
for (auto &&enforcedCollisionRefId : worldstate->enforcedCollisionRefIds)
{
RW(enforcedCollisionRefId, send);
RW(enforcedCollisionRefId, send, true);
}
}