diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-08-28 23:25:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-08-28 23:25:26 +0300 |
commit | 8002c6f3844e637e246d0bd96dd6253ac91324a3 (patch) | |
tree | 651052ce27eedbf4162d4031a2237f0b1c916ae1 /src/gui | |
parent | 09eb9b1ca997c3a6489f37bdaa3c590aeeb1501b (diff) | |
download | mv-8002c6f3844e637e246d0bd96dd6253ac91324a3.tar.gz mv-8002c6f3844e637e246d0bd96dd6253ac91324a3.tar.bz2 mv-8002c6f3844e637e246d0bd96dd6253ac91324a3.tar.xz mv-8002c6f3844e637e246d0bd96dd6253ac91324a3.zip |
Fixed invite to guild/kick from guild.
Update visible players guild statuses.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popupmenu.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index a3041fcf7..6db4a408f 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -233,6 +233,17 @@ void PopupMenu::showPopup(int x, int y, Being *being) } } } + else if (guild2->getMember(mNick)) + { + mBrowserBox->addRow(strprintf( + "@@guild-kick|%s@@", _("Kick from guild"))); + if (guild2->getServerGuild()) + { + mBrowserBox->addRow(strprintf( + "@@guild-pos|%s >@@", + _("Change pos in guild"))); + } + } else { if (guild2->getServerGuild() |