diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 18:51:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 18:51:02 +0300 |
commit | b73aec167532701db9ab645ef5d75e5dff1fa963 (patch) | |
tree | fac969e66948a005fb78b81bf27180d6544f352a /src/net/eathena/partyhandler.cpp | |
parent | 2b0176f628521b5eabb2e5874ff4c211ed18c2fd (diff) | |
download | manaplus-b73aec167532701db9ab645ef5d75e5dff1fa963.tar.gz manaplus-b73aec167532701db9ab645ef5d75e5dff1fa963.tar.bz2 manaplus-b73aec167532701db9ab645ef5d75e5dff1fa963.tar.xz manaplus-b73aec167532701db9ab645ef5d75e5dff1fa963.zip |
eathena: fix packet SMSG_PARTY_SETTINGS 0x07d8.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 6 |
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); } |