From dc49092ae5439c1fcc711fbfc2784a8de6b70840 Mon Sep 17 00:00:00 2001 From: Lane Kolbly Date: Wed, 2 Aug 2017 09:46:29 -0500 Subject: Handle Teleport Confirmation Packet (#3884) + Added code to drop incoming client position packets until the most recent teleport was confirmed. --- src/Protocol/Protocol_1_9.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Protocol/Protocol_1_9.h') diff --git a/src/Protocol/Protocol_1_9.h b/src/Protocol/Protocol_1_9.h index d6533c5da..2c83168c2 100644 --- a/src/Protocol/Protocol_1_9.h +++ b/src/Protocol/Protocol_1_9.h @@ -173,6 +173,10 @@ protected: /** State of the protocol. 1 = status, 2 = login, 3 = game */ UInt32 m_State; + /** The current teleport ID, and whether it has been confirmed by the client */ + bool m_IsTeleportIdConfirmed; + UInt32 m_OutstandingTeleportId; + /** Buffer for the received data */ cByteBuffer m_ReceivedData; -- cgit v1.2.3