summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/updaterwindow.cpp2
-rw-r--r--src/net/eathena/loginrecv.cpp2
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;