summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index c906eaef..e5b20a38 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -86,7 +86,7 @@ void PartyHandler::handleMessage(MessageIn &msg)
if (!partyWindow)
break;
- partyWindow->clear();
+ partyWindow->clearMembers();
int length = msg.readInt16();
std::string party = msg.readString(24);
@@ -231,7 +231,7 @@ void PartyHandler::handleMessage(MessageIn &msg)
if (id == player_node->getId())
{
player_node->setInParty(false);
- partyWindow->clear();
+ partyWindow->clearMembers();
partyWindow->setVisible(false);
partyTab->chatLog(_("You have left the party."), BY_SERVER);
}