summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-01-16 23:45:44 +0300
committerAndrei Karas <akaras@inbox.ru>2018-01-16 23:45:44 +0300
commit7c6d3721e2a0cbf31213c344ac48765d34ad39a5 (patch)
treef62b71116fb66e7045738c74de5bda361a2bb783 /src/net/eathena/partyrecv.cpp
parent5799b36c11da8a52713e33508edbe07ef9888a65 (diff)
downloadplus-7c6d3721e2a0cbf31213c344ac48765d34ad39a5.tar.gz
plus-7c6d3721e2a0cbf31213c344ac48765d34ad39a5.tar.bz2
plus-7c6d3721e2a0cbf31213c344ac48765d34ad39a5.tar.xz
plus-7c6d3721e2a0cbf31213c344ac48765d34ad39a5.zip
Add packet SMSG_PARTY_INFO 0x0ae5.
Diffstat (limited to 'src/net/eathena/partyrecv.cpp')
-rw-r--r--src/net/eathena/partyrecv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp
index 185295861..336c7cfd0 100644
--- a/src/net/eathena/partyrecv.cpp
+++ b/src/net/eathena/partyrecv.cpp
@@ -212,6 +212,8 @@ void PartyRecv::processPartyInfo(Net::MessageIn &msg)
for (int i = 0; i < count; i++)
{
const BeingId id = msg.readBeingId("account id");
+ if (msg.getVersion() >= 20171207)
+ msg.readBeingId("char id");
std::string nick = msg.readString(24, "nick");
std::string map = msg.readString(16, "map name");
const bool leader = msg.readUInt8("leader") == 0U;