summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2011-05-15 15:15:48 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2011-05-15 15:15:48 +0200
commitdbfee8acae48ee1eec46d049656e83e952686ece (patch)
treeba39bbfd9851c32d1d32ead544a88a245c8bf434 /src/gui/popupmenu.cpp
parent15beafcf8c2c489187a1233d03937b0e1eeb130a (diff)
downloadmana-dbfee8acae48ee1eec46d049656e83e952686ece.tar.gz
mana-dbfee8acae48ee1eec46d049656e83e952686ece.tar.bz2
mana-dbfee8acae48ee1eec46d049656e83e952686ece.tar.xz
mana-dbfee8acae48ee1eec46d049656e83e952686ece.zip
Starting to fix party invite
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index 7e648311..1c2f3b60 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -129,10 +129,13 @@ void PopupMenu::showPopup(int x, int y, Being *being)
mBrowserBox->addRow(strprintf("@@guild|%s@@",
strprintf(_("Invite %s to join your guild"),
name.c_str()).c_str()));
- if (player_node->isInParty())
+ if (player_node->isInParty() ||
+ Net::getNetworkType() == ServerInfo::MANASERV)
+ {
mBrowserBox->addRow(strprintf("@@party|%s@@",
strprintf(_("Invite %s to join your party"),
name.c_str()).c_str()));
+ }
if (player_node->isGM())
{