diff options
Diffstat (limited to 'src/net/eathena/partyrecv.cpp')
-rw-r--r-- | src/net/eathena/partyrecv.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp index c5f04008f..e23959a1c 100644 --- a/src/net/eathena/partyrecv.cpp +++ b/src/net/eathena/partyrecv.cpp @@ -90,11 +90,14 @@ void PartyRecv::processPartySettings(Net::MessageIn &msg) } msg.readInt32("party exp"); - const PartyShareT exp = static_cast<PartyShareT>( - msg.readInt8("share exp")); - const PartyShareT item = static_cast<PartyShareT>( - msg.readInt8("share item")); - Ea::PartyRecv::processPartySettingsContinue(msg, exp, item); + if (msg.getVersion() >= 20090603) + { + const PartyShareT exp = static_cast<PartyShareT>( + msg.readInt8("share exp")); + const PartyShareT item = static_cast<PartyShareT>( + msg.readInt8("share item")); + Ea::PartyRecv::processPartySettingsContinue(msg, exp, item); + } } void PartyRecv::processPartyInfo(Net::MessageIn &msg) |