diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 16:03:07 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-12 16:03:58 -0600 |
commit | 7b0309c45591a98846b650e789829a0b0de309e9 (patch) | |
tree | 4740e6bae651c430d18560cc95f0b59d12f70090 /src/gui/popupmenu.cpp | |
parent | 715105c4bf1fadec717c396c8b8283dbacd8cb70 (diff) | |
download | mana-7b0309c45591a98846b650e789829a0b0de309e9.tar.gz mana-7b0309c45591a98846b650e789829a0b0de309e9.tar.bz2 mana-7b0309c45591a98846b650e789829a0b0de309e9.tar.xz mana-7b0309c45591a98846b650e789829a0b0de309e9.zip |
Adjust the context menu's invite options
Guild will no longer show for eAthena builds and party will only show if
you are in a party.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 2dcf2628..fdb8c5ac 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -112,8 +112,11 @@ void PopupMenu::showPopup(int x, int y, Being *being) //mBrowserBox->addRow(_(strprintf("@@follow|Follow %s@@"), name.c_str())); //mBrowserBox->addRow(_("@@buddy|Add ") + name + " to Buddy List@@"); +#ifdef TMWSERV_SUPPORT mBrowserBox->addRow(strprintf(_("@@guild|Invite %s to join your guild@@"), name.c_str())); - mBrowserBox->addRow(strprintf(_("@@party|Invite %s to join your party@@"), name.c_str())); +#endif + if (player_node->isInParty()) + mBrowserBox->addRow(strprintf(_("@@party|Invite %s to join your party@@"), name.c_str())); /* mBrowserBox->addRow("##3---"); |