diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 18:15:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 18:15:48 +0300 |
commit | e42014689b993e63c8eef5b7b6cbf7b35d3551a8 (patch) | |
tree | cff6885ea8e1f6978e28ad7fd1e46bcd2dc64f60 /src/net/ea/partyhandler.cpp | |
parent | b5aa7b91572aad7aea5ec9b5b109e03a26934b6c (diff) | |
download | mv-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.cpp | 8 |
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: |