From 5c3c35a75cb7dbbc5ac30f4a5c810f8e0e0da3fa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 20 Apr 2017 03:03:34 +0300 Subject: Drop support server packet version 10 (Nov 15 2015). --- src/net/eathena/beingrecv.cpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/net/eathena/beingrecv.cpp') diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 52b1508da..3e9c935dc 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -304,11 +304,8 @@ void BeingRecv::processBeingVisible(Net::MessageIn &msg) // Information about a being in range const BeingId id = msg.readBeingId("being id"); - if (msg.getVersion() >= 20131223 && - (serverVersion == 0 || serverVersion >= 11)) - { + if (msg.getVersion() >= 20131223) msg.readBeingId("char id"); - } BeingId spawnId; if (id == Ea::BeingRecv::mSpawnId) spawnId = Ea::BeingRecv::mSpawnId; @@ -543,11 +540,8 @@ void BeingRecv::processBeingMove(Net::MessageIn &msg) // Information about a being in range const BeingId id = msg.readBeingId("being id"); - if (msg.getVersion() >= 20131223 && - (serverVersion == 0 || serverVersion >= 11)) - { + if (msg.getVersion() >= 20131223) msg.readBeingId("char id"); - } BeingId spawnId; if (id == Ea::BeingRecv::mSpawnId) spawnId = Ea::BeingRecv::mSpawnId; @@ -779,8 +773,7 @@ void BeingRecv::processBeingSpawn(Net::MessageIn &msg) // Information about a being in range const BeingId id = msg.readBeingId("being id"); - if (msg.getVersion() >= 20131223 && - (serverVersion == 0 || serverVersion >= 11)) + if (msg.getVersion() >= 20131223) { msg.readBeingId("char id"); } -- cgit v1.2.3-70-g09d2