diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-29 12:35:31 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-29 12:40:48 -0600 |
commit | d23e59f12e4df9de8cf20595836664b53adf6a66 (patch) | |
tree | bc58d7ba72120f69b40362b5ac78255898a0a9e8 /src/net/ea/partyhandler.cpp | |
parent | 303943ab196534c3b4a6d9cbec8580ca4bc29b91 (diff) | |
download | mana-d23e59f12e4df9de8cf20595836664b53adf6a66.tar.gz mana-d23e59f12e4df9de8cf20595836664b53adf6a66.tar.bz2 mana-d23e59f12e4df9de8cf20595836664b53adf6a66.tar.xz mana-d23e59f12e4df9de8cf20595836664b53adf6a66.zip |
Fix handling of party create response messages
Also tell the user that invite by name isn't available atm.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index b4f21e44..dd6ea663 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -74,12 +74,12 @@ void PartyHandler::handleMessage(MessageIn &msg) { case SMSG_PARTY_CREATE: if (msg.readInt8()) + partyTab->chatLog(_("Could not create party."), BY_SERVER); + else { partyTab->chatLog(_("Party successfully created."), BY_SERVER); player_node->setInParty(true); } - else - partyTab->chatLog(_("Could not create party."), BY_SERVER); break; case SMSG_PARTY_INFO: { @@ -295,6 +295,7 @@ void PartyHandler::invite(Player *player) void PartyHandler::invite(const std::string &name) { + partyTab->chatLog(_("Inviting like this isn't supported at the moment."), BY_SERVER); // TODO? } |