summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-10 12:19:26 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-10 12:19:52 -0600
commit4fbc74784120976729f8409872235224c36bdaf3 (patch)
tree05a42f6904e131cef5b52e356b3fb14e43e39e2d /src/net/ea/partyhandler.cpp
parentf2dbb7140f8efab0278ac17489b75c0c8ab60102 (diff)
downloadmana-client-4fbc74784120976729f8409872235224c36bdaf3.tar.gz
mana-client-4fbc74784120976729f8409872235224c36bdaf3.tar.bz2
mana-client-4fbc74784120976729f8409872235224c36bdaf3.tar.xz
mana-client-4fbc74784120976729f8409872235224c36bdaf3.zip
Update color of party members ont he fly
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index c4653677..0e972958 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -101,6 +101,9 @@ void PartyHandler::handleMessage(MessageIn &msg)
bool online = msg.readInt8() == 0;
partyWindow->updateMember(id, nick, leader, online);
+
+ Being *being = beingManager->findBeing(id);
+ being->setName(nick);
}
partyWindow->setVisible(true);