diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 03:03:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 03:03:34 +0300 |
commit | 5c3c35a75cb7dbbc5ac30f4a5c810f8e0e0da3fa (patch) | |
tree | 1822c1dd378aa7879341c8b4f12534220b0cb0b6 /src/net | |
parent | 6185604cbc38accb626bf9eaef62533ba1d2c68b (diff) | |
download | plus-5c3c35a75cb7dbbc5ac30f4a5c810f8e0e0da3fa.tar.gz plus-5c3c35a75cb7dbbc5ac30f4a5c810f8e0e0da3fa.tar.bz2 plus-5c3c35a75cb7dbbc5ac30f4a5c810f8e0e0da3fa.tar.xz plus-5c3c35a75cb7dbbc5ac30f4a5c810f8e0e0da3fa.zip |
Drop support server packet version 10 (Nov 15 2015).
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/beingrecv.cpp | 13 | ||||
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 2 |
2 files changed, 3 insertions, 12 deletions
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"); } diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 415384156..818fffde9 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -459,8 +459,6 @@ void PlayerHandler::shortcutShiftRow(const int row) const { if (packetVersion < 20140129) return; - if (serverVersion != 0 && serverVersion < 11) - return; createOutPacket(CMSG_SHORTCUTS_ROW_SHIFT); outMsg.writeInt8(CAST_S8(row), "row"); } |