summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-01 14:27:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-01 14:27:18 +0300
commit5f4951d34c52e92ddd38606b140e8dcded25448c (patch)
tree560bd34ab871b4c903d44f98832ee4680c091e46 /src/gui
parenta5ce1a9872c4c34af4d4336e3fd512036511c659 (diff)
downloadmv-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.gz
mv-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.bz2
mv-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.xz
mv-5f4951d34c52e92ddd38606b140e8dcded25448c.zip
Add chat command /breakguild. Also add it to player context menu.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 13e54ba3e..dae11fd12 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2860,6 +2860,10 @@ void PopupMenu::showPlayerGMCommands(const std::string &name)
// TRANSLATORS: popup menu item
// TRANSLATORS: spawn evil player clone
mBrowserBox->addRow("/spawnevilclone 'NAME'", _("Spawn evil clone"));
+ mBrowserBox->addRow("##3---");
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: break guild
+ mBrowserBox->addRow("/gmbreakguild 'NAME'", _("Break guild"));
}
if (mBeingId != BeingId_zero)
{