diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-07 00:22:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-07 00:22:37 +0300 |
commit | 24b3f27775801e4ce45e4203f87994209dd54e7b (patch) | |
tree | 669d18d459763ce6fe9541cd9aa68e7bf4897158 /src/net/eathena | |
parent | 0cd149ef9bcac3d136406e4d90e8875dbb85c925 (diff) | |
download | manaverse-24b3f27775801e4ce45e4203f87994209dd54e7b.tar.gz manaverse-24b3f27775801e4ce45e4203f87994209dd54e7b.tar.bz2 manaverse-24b3f27775801e4ce45e4203f87994209dd54e7b.tar.xz manaverse-24b3f27775801e4ce45e4203f87994209dd54e7b.zip |
Fix packet SMSG_FRIENDS_LIST 0x0201 for new packet versions.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/friendsrecv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/eathena/friendsrecv.cpp b/src/net/eathena/friendsrecv.cpp index 874466de0..31c3d5c76 100644 --- a/src/net/eathena/friendsrecv.cpp +++ b/src/net/eathena/friendsrecv.cpp @@ -50,7 +50,8 @@ void FriendsRecv::processFriendsList(Net::MessageIn &msg) { msg.readBeingId("account id"); msg.readInt32("char id"); - msg.readString(24, "name"); + if (!(packetVersionMain >= 20180307 || packetVersionRe >= 20180221)) + msg.readString(24, "name"); } } |