summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-04-22 15:19:03 +0000
committerDavid Athay <ko2fan@gmail.com>2008-04-22 15:19:03 +0000
commitee6cd05382e4933bac8a6d6c007f112ac37a9f36 (patch)
tree2610454f1be16dc9a5e5531d68c3deab2503705f /src/gui/popupmenu.cpp
parentb8b4a6346a5fe4a8e1719fc476ab6c6f714446a6 (diff)
downloadmana-ee6cd05382e4933bac8a6d6c007f112ac37a9f36.tar.gz
mana-ee6cd05382e4933bac8a6d6c007f112ac37a9f36.tar.bz2
mana-ee6cd05382e4933bac8a6d6c007f112ac37a9f36.tar.xz
mana-ee6cd05382e4933bac8a6d6c007f112ac37a9f36.zip
Added more support for parties
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index dfd85815..1098cd3a 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -82,7 +82,7 @@ void PopupMenu::showPopup(int x, int y, Being *being)
//mBrowserBox->addRow("@@follow|Follow " + name + "@@");
//mBrowserBox->addRow("@@buddy|Add " + name + " to Buddy List@@");
mBrowserBox->addRow(strprintf(_("@@guild|Invite %s@@"), name.c_str()));
- //mBrowserBox->addRow(strprintf(_("@@party|Invite %s to join your party@@"), name.c_str()));
+ mBrowserBox->addRow(strprintf(_("@@party|Invite %s to join your party@@"), name.c_str()));
}
break;
@@ -144,15 +144,14 @@ void PopupMenu::handleLink(const std::string& link)
mBeing != NULL &&
mBeing->getType() == Being::PLAYER)
{
- player_node->invite(mBeing);
+ player_node->inviteToGuild(mBeing);
}
- /*
// Add player to your party
else if (link == "party")
{
+ player_node->inviteToParty(mBeing);
}
- */
/*
// Follow Player action