diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 8 | ||||
-rw-r--r-- | src/net/ea/partyhandler.h | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 9356e2272..cdcf79d16 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -249,10 +249,12 @@ void PartyHandler::processPartySettings(Net::MessageIn &msg) // These seem to indicate the sharing mode for exp and items const int16_t exp = msg.readInt16(); const int16_t item = msg.readInt16(); + processPartySettingsContinue(exp, item); +} - if (!Ea::partyTab) - return; - +void PartyHandler::processPartySettingsContinue(const int16_t exp, + const int16_t item) +{ switch (exp) { case Net::PartyShare::YES: diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h index 11eef00b6..aea58c7cd 100644 --- a/src/net/ea/partyhandler.h +++ b/src/net/ea/partyhandler.h @@ -80,6 +80,9 @@ class PartyHandler notfinal : public Net::PartyHandler virtual void processPartyMessage(Net::MessageIn &msg) const; + void processPartySettingsContinue(const int16_t exp, + const int16_t item); + protected: Net::PartyShare::Type mShareExp; Net::PartyShare::Type mShareItems; |