summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-07 18:25:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-07 18:25:22 +0300
commit2b0176f628521b5eabb2e5874ff4c211ed18c2fd (patch)
tree488263120908aed6165af56b40eac2a55933cde5 /src/net/ea
parente42014689b993e63c8eef5b7b6cbf7b35d3551a8 (diff)
downloadmanaplus-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')
-rw-r--r--src/net/ea/partyhandler.cpp18
-rw-r--r--src/net/ea/partyhandler.h2
2 files changed, 0 insertions, 20 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)
{
diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h
index aea58c7cd..93ebde5c4 100644
--- a/src/net/ea/partyhandler.h
+++ b/src/net/ea/partyhandler.h
@@ -68,8 +68,6 @@ class PartyHandler notfinal : public Net::PartyHandler
virtual void processPartyInvited(Net::MessageIn &msg) const;
- virtual void processPartySettings(Net::MessageIn &msg);
-
virtual void processPartyMove(Net::MessageIn &msg) const;
virtual void processPartyLeave(Net::MessageIn &msg) const;