summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/loginrecv.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/net/eathena/loginrecv.cpp b/src/net/eathena/loginrecv.cpp
index c31692b4f..e594dd331 100644
--- a/src/net/eathena/loginrecv.cpp
+++ b/src/net/eathena/loginrecv.cpp
@@ -157,10 +157,16 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg)
{
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 = 20150000;
+ packetVersion = 20141022;
logger->log("Possible hercules packet version: %d", packetVersion);
}
}