From 4daf471874ac8acadf7c3f6d5b0763856cc0f364 Mon Sep 17 00:00:00 2001 From: Koncord Date: Mon, 3 Apr 2017 06:13:00 +0800 Subject: [PATCH] [General] Add dontRead flag --- components/openmw-mp/Base/BasePacketProcessor.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/openmw-mp/Base/BasePacketProcessor.hpp b/components/openmw-mp/Base/BasePacketProcessor.hpp index e2cb51637..b0e4ec8e4 100644 --- a/components/openmw-mp/Base/BasePacketProcessor.hpp +++ b/components/openmw-mp/Base/BasePacketProcessor.hpp @@ -7,7 +7,7 @@ #include -#define BPP_INIT(packet_id) packetID = packet_id; strPacketID = #packet_id; className = typeid(this).name(); +#define BPP_INIT(packet_id) packetID = packet_id; strPacketID = #packet_id; className = typeid(this).name(); dontRead = false; class BasePacketProcessor { @@ -30,6 +30,7 @@ protected: unsigned char packetID; std::string strPacketID; std::string className; + bool dontRead; };