diff options
author | David Athay <ko2fan@gmail.com> | 2008-04-22 15:19:03 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-04-22 15:19:03 +0000 |
commit | ee6cd05382e4933bac8a6d6c007f112ac37a9f36 (patch) | |
tree | 2610454f1be16dc9a5e5531d68c3deab2503705f /src/gui/popupmenu.cpp | |
parent | b8b4a6346a5fe4a8e1719fc476ab6c6f714446a6 (diff) | |
download | mana-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.cpp | 7 |
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 |