summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-07 18:15:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-07 18:15:48 +0300
commite42014689b993e63c8eef5b7b6cbf7b35d3551a8 (patch)
treecff6885ea8e1f6978e28ad7fd1e46bcd2dc64f60 /src/net/ea/partyhandler.cpp
parentb5aa7b91572aad7aea5ec9b5b109e03a26934b6c (diff)
downloadmv-e42014689b993e63c8eef5b7b6cbf7b35d3551a8.tar.gz
mv-e42014689b993e63c8eef5b7b6cbf7b35d3551a8.tar.bz2
mv-e42014689b993e63c8eef5b7b6cbf7b35d3551a8.tar.xz
mv-e42014689b993e63c8eef5b7b6cbf7b35d3551a8.zip
Split processPartySettings into net code and not net code.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp8
1 files changed, 5 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: