From d23e59f12e4df9de8cf20595836664b53adf6a66 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 29 Apr 2009 12:35:31 -0600 Subject: Fix handling of party create response messages Also tell the user that invite by name isn't available atm. --- src/net/ea/partyhandler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net/ea/partyhandler.cpp') 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? } -- cgit v1.2.3-70-g09d2