diff options
Diffstat (limited to 'src/net/eathena/friendsrecv.cpp')
-rw-r--r-- | src/net/eathena/friendsrecv.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/friendsrecv.cpp b/src/net/eathena/friendsrecv.cpp index cddda0c4f..874466de0 100644 --- a/src/net/eathena/friendsrecv.cpp +++ b/src/net/eathena/friendsrecv.cpp @@ -26,6 +26,9 @@ #include "debug.h" +extern int packetVersionMain; +extern int packetVersionRe; + namespace EAthena { @@ -35,6 +38,8 @@ void FriendsRecv::processPlayerOnline(Net::MessageIn &msg) msg.readBeingId("account id"); msg.readInt32("char id"); msg.readUInt8("flag"); // 0 - online, 1 - offline + if (packetVersionMain >= 20180307 || packetVersionRe >= 20180221) + msg.readString(24, "player name"); } void FriendsRecv::processFriendsList(Net::MessageIn &msg) |