summaryrefslogtreecommitdiff
path: root/src/net/eathena/beingrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-20 03:03:34 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-20 03:03:34 +0300
commit5c3c35a75cb7dbbc5ac30f4a5c810f8e0e0da3fa (patch)
tree1822c1dd378aa7879341c8b4f12534220b0cb0b6 /src/net/eathena/beingrecv.cpp
parent6185604cbc38accb626bf9eaef62533ba1d2c68b (diff)
downloadplus-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/eathena/beingrecv.cpp')
-rw-r--r--src/net/eathena/beingrecv.cpp13
1 files changed, 3 insertions, 10 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");
}