From 9e6459043bbc5c0ad2b713f38a67d66deccba344 Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 22 Jul 2018 20:29:27 +0300 Subject: [PATCH] [General] Fix typo related to originClientScript in ObjectPacket --- components/openmw-mp/Packets/Object/ObjectPacket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/openmw-mp/Packets/Object/ObjectPacket.cpp b/components/openmw-mp/Packets/Object/ObjectPacket.cpp index 80d3e0291..6e236d671 100644 --- a/components/openmw-mp/Packets/Object/ObjectPacket.cpp +++ b/components/openmw-mp/Packets/Object/ObjectPacket.cpp @@ -51,7 +51,7 @@ bool ObjectPacket::PacketHeader(RakNet::BitStream *bs, bool send) RW(objectList->packetOrigin, send); if (objectList->packetOrigin == mwmp::CLIENT_SCRIPT) - RW(objectList->originClientScript, true); + RW(objectList->originClientScript, send, true); if (send) objectList->baseObjectCount = (unsigned int)(objectList->baseObjects.size());