summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-07 18:51:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-07 18:51:02 +0300
commitb73aec167532701db9ab645ef5d75e5dff1fa963 (patch)
treefac969e66948a005fb78b81bf27180d6544f352a /src/net/eathena/partyhandler.cpp
parent2b0176f628521b5eabb2e5874ff4c211ed18c2fd (diff)
downloadplus-b73aec167532701db9ab645ef5d75e5dff1fa963.tar.gz
plus-b73aec167532701db9ab645ef5d75e5dff1fa963.tar.bz2
plus-b73aec167532701db9ab645ef5d75e5dff1fa963.tar.xz
plus-b73aec167532701db9ab645ef5d75e5dff1fa963.zip
eathena: fix packet SMSG_PARTY_SETTINGS 0x07d8.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index d4404340c..99a9e86bd 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -265,9 +265,9 @@ void PartyHandler::processPartySettings(Net::MessageIn &msg)
Ea::partyTab->loadFromLogFile("#Party");
}
- // These seem to indicate the sharing mode for exp and items
- const int16_t exp = msg.readInt16();
- const int16_t item = msg.readInt16();
+ msg.readInt32("party exp");
+ const int16_t exp = msg.readInt8("exp");
+ const int16_t item = msg.readInt8("item");
processPartySettingsContinue(exp, item);
}