summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-10 20:29:14 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-10 21:24:20 +0200
commit3c912139aef92a3e070ade966c91c297b7a5310c (patch)
tree2628e66b9cfe3cd494bb33641ac995db949c01fb /src/net
parent6e3a3c345a2cad8308738b8b7b5292b9002c1a6e (diff)
downloadmana-3c912139aef92a3e070ade966c91c297b7a5310c.tar.gz
mana-3c912139aef92a3e070ade966c91c297b7a5310c.tar.bz2
mana-3c912139aef92a3e070ade966c91c297b7a5310c.tar.xz
mana-3c912139aef92a3e070ade966c91c297b7a5310c.zip
Fixed the resize grip of the party window
It wasn't re-added after doing a clear. Also, don't leak all the PartyMember and Avatar instances.
Diffstat (limited to 'src/net')
-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);
}