diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:02:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-20 01:02:44 +0300 |
commit | d3662ce56f1f1893fd0ddd76ce236404ce242477 (patch) | |
tree | 816992ef47a2f8a19f5dad8cb2a5fb92ffc90c4b /src/net/eathena/loginrecv.cpp | |
parent | b37388b381a1251683c588189f496eb47b590769 (diff) | |
download | mv-d3662ce56f1f1893fd0ddd76ce236404ce242477.tar.gz mv-d3662ce56f1f1893fd0ddd76ce236404ce242477.tar.bz2 mv-d3662ce56f1f1893fd0ddd76ce236404ce242477.tar.xz mv-d3662ce56f1f1893fd0ddd76ce236404ce242477.zip |
Drop support server packet version 7.
Diffstat (limited to 'src/net/eathena/loginrecv.cpp')
-rw-r--r-- | src/net/eathena/loginrecv.cpp | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/src/net/eathena/loginrecv.cpp b/src/net/eathena/loginrecv.cpp index e594dd331..11b0086bf 100644 --- a/src/net/eathena/loginrecv.cpp +++ b/src/net/eathena/loginrecv.cpp @@ -153,21 +153,13 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg) if (serverVersion > 0) { logger->log("Evol2 server version: %d", serverVersion); - if (serverVersion >= 8) - { - packetVersion = msg.readInt32("packet version"); - logger->log("Hercules packet version: %d", packetVersion); - if (packetVersion == 20150000) - { - packetVersion = 20141022; - logger->log("autofix Hercules packet version to: %d", - packetVersion); - } - } - else + packetVersion = msg.readInt32("packet version"); + logger->log("Hercules packet version: %d", packetVersion); + if (packetVersion == 20150000) { packetVersion = 20141022; - logger->log("Possible hercules packet version: %d", packetVersion); + logger->log("autofix Hercules packet version to: %d", + packetVersion); } } else |