diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-30 15:10:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-30 15:10:14 +0300 |
commit | 47f3e53850eae9c714ffad0c1197191a782e72e8 (patch) | |
tree | dae6f1bd0419c6875a6c2b44c62b127e7daaebf8 /src/net/eathena/charserverrecv.cpp | |
parent | c51f5a671e5fc6b78e57df46daf0fdba319dadf7 (diff) | |
download | plus-47f3e53850eae9c714ffad0c1197191a782e72e8.tar.gz plus-47f3e53850eae9c714ffad0c1197191a782e72e8.tar.bz2 plus-47f3e53850eae9c714ffad0c1197191a782e72e8.tar.xz plus-47f3e53850eae9c714ffad0c1197191a782e72e8.zip |
Fix packets for 20170329.
Diffstat (limited to 'src/net/eathena/charserverrecv.cpp')
-rw-r--r-- | src/net/eathena/charserverrecv.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/charserverrecv.cpp b/src/net/eathena/charserverrecv.cpp index 44c90a227..13a374533 100644 --- a/src/net/eathena/charserverrecv.cpp +++ b/src/net/eathena/charserverrecv.cpp @@ -276,6 +276,11 @@ void CharServerRecv::processCharMapInfo(Net::MessageIn &restrict msg) server.hostname = ipToString(msg.readInt32("map ip address")); } server.port = msg.readInt16("map ip port"); + if (msg.getVersion() >= 20170329) + { + for (int f = 0; f < 32; f ++) + msg.readInt32("unused"); + } // Prevent the selected local player from being deleted localPlayer = charServerHandler->mSelectedCharacter->dummy; |