diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 18:25:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 18:25:22 +0300 |
commit | 2b0176f628521b5eabb2e5874ff4c211ed18c2fd (patch) | |
tree | 488263120908aed6165af56b40eac2a55933cde5 /src/net/ea/partyhandler.cpp | |
parent | e42014689b993e63c8eef5b7b6cbf7b35d3551a8 (diff) | |
download | manaplus-2b0176f628521b5eabb2e5874ff4c211ed18c2fd.tar.gz manaplus-2b0176f628521b5eabb2e5874ff4c211ed18c2fd.tar.bz2 manaplus-2b0176f628521b5eabb2e5874ff4c211ed18c2fd.tar.xz manaplus-2b0176f628521b5eabb2e5874ff4c211ed18c2fd.zip |
Move processPartySettings from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index cdcf79d16..7e2be5a95 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -234,24 +234,6 @@ void PartyHandler::processPartyInvited(Net::MessageIn &msg) const socialWindow->showPartyInvite(partyName, nick); } -void PartyHandler::processPartySettings(Net::MessageIn &msg) -{ - if (!Ea::partyTab) - { - if (!chatWindow) - return; - - Ea::partyTab = new PartyTab(chatWindow); - if (config.getBoolValue("showChatHistory")) - 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(); - processPartySettingsContinue(exp, item); -} - void PartyHandler::processPartySettingsContinue(const int16_t exp, const int16_t item) { |