diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 10:52:07 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 10:52:07 -0600 |
commit | 34489687667ba5622ad3ba109381ee4c39da24e5 (patch) | |
tree | 07bd6b25d962a5f77d7c44a40ad01ce79af89304 /src/net | |
parent | a2aa7c577b6d69b8185111a8ea8781957ce45b38 (diff) | |
download | mana-34489687667ba5622ad3ba109381ee4c39da24e5.tar.gz mana-34489687667ba5622ad3ba109381ee4c39da24e5.tar.bz2 mana-34489687667ba5622ad3ba109381ee4c39da24e5.tar.xz mana-34489687667ba5622ad3ba109381ee4c39da24e5.zip |
Show party name in party window
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 1 | ||||
-rw-r--r-- | src/net/tmwserv/generalhandler.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 072297dd..2f1b02ab 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -91,6 +91,7 @@ void PartyHandler::handleMessage(MessageIn &msg) int length = msg.readInt16(); std::string party = msg.readString(24); + partyWindow->setPartyName(party); int count = (length - 28) / 46; for (int i = 0; i < count; i++) diff --git a/src/net/tmwserv/generalhandler.cpp b/src/net/tmwserv/generalhandler.cpp index f7f813a9..5886aafb 100644 --- a/src/net/tmwserv/generalhandler.cpp +++ b/src/net/tmwserv/generalhandler.cpp @@ -20,6 +20,7 @@ */ #include "gui/inventorywindow.h" +#include "gui/partywindow.h" #include "net/tmwserv/generalhandler.h" @@ -144,6 +145,7 @@ void GeneralHandler::tick() void GeneralHandler::guiWindowsLoaded() { inventoryWindow->setSplitAllowed(true); + partyWindow->clearPartyName(); } void GeneralHandler::guiWindowsUnloaded() |