diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-03 04:16:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-03 04:16:47 +0300 |
commit | 2f1687f3255064738d8b1b185ab7b2cedb79e313 (patch) | |
tree | 7096d7c0586b5e21c53e35c4b5f65bbbdb24941d /src | |
parent | 8a0b2b0a7b046dbb27d0dddd63590f6a47560956 (diff) | |
download | mv-2f1687f3255064738d8b1b185ab7b2cedb79e313.tar.gz mv-2f1687f3255064738d8b1b185ab7b2cedb79e313.tar.bz2 mv-2f1687f3255064738d8b1b185ab7b2cedb79e313.tar.xz mv-2f1687f3255064738d8b1b185ab7b2cedb79e313.zip |
Drop support for server version 19.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/loginrecv.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index c7b5ef8b0..5b810b38e 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -454,7 +454,7 @@ void UpdaterWindow::loadPatch() if (line != nullptr) { version = line; - if (serverVersion < 1) + if (serverVersion == 0) { line = strtok(nullptr, "\n"); if (line != nullptr) diff --git a/src/net/eathena/loginrecv.cpp b/src/net/eathena/loginrecv.cpp index 213051c28..9c58e099d 100644 --- a/src/net/eathena/loginrecv.cpp +++ b/src/net/eathena/loginrecv.cpp @@ -176,7 +176,7 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg) { evolPacketOffset = msg.readInt16("evol packet offset"); } - if (serverVersion >= 20 && len >= 20) + if (len >= 20) { packetsType = msg.readInt16("server packets type"); packets_re = (packetsType & 1) != 0; |