[General] Fix typo related to originClientScript in ObjectPacket

pull/471/head
David Cernat 7 years ago
parent 3dc2d1b214
commit 9e6459043b

@ -51,7 +51,7 @@ bool ObjectPacket::PacketHeader(RakNet::BitStream *bs, bool send)
RW(objectList->packetOrigin, send); RW(objectList->packetOrigin, send);
if (objectList->packetOrigin == mwmp::CLIENT_SCRIPT) if (objectList->packetOrigin == mwmp::CLIENT_SCRIPT)
RW(objectList->originClientScript, true); RW(objectList->originClientScript, send, true);
if (send) if (send)
objectList->baseObjectCount = (unsigned int)(objectList->baseObjects.size()); objectList->baseObjectCount = (unsigned int)(objectList->baseObjects.size());

Loading…
Cancel
Save