From 118ab32c9b224a7953849903c3de40596fbc4325 Mon Sep 17 00:00:00 2001 From: Koncord Date: Mon, 29 Aug 2016 21:03:04 +0800 Subject: [PATCH] Woops --- components/openmw-mp/Packets/BasePacket.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/openmw-mp/Packets/BasePacket.hpp b/components/openmw-mp/Packets/BasePacket.hpp index d7eecae68..d2d1c0d3f 100644 --- a/components/openmw-mp/Packets/BasePacket.hpp +++ b/components/openmw-mp/Packets/BasePacket.hpp @@ -38,6 +38,11 @@ namespace mwmp return (sizeof(packetID) + RakNet::RakNetGUID::size()); // packetID + RakNetGUID (uint64_t) } + unsigned char GetPacketID() + { + return packetID; + } + protected: template void RW(templateType &data, unsigned int size, bool write)