summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 20:42:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 20:42:50 +0300
commit3fe3a77e1ae0db748a8a0b8d500db24a6a964b44 (patch)
treeaebc36f17eeb2d5ecf675bd3d424f5558422ec60 /src/gui
parent64a067458ea169b9ff5b9a78ed1a011da86e8bdf (diff)
downloadmanaplus-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.gz
manaplus-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.bz2
manaplus-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.xz
manaplus-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.zip
Add chat command /gmheal. Also add it to player context menu.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index b8923bd7e..34d29ef10 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -2746,6 +2746,9 @@ void PopupMenu::showPlayerGMCommands()
if (!legacy)
{
// TRANSLATORS: popup menu item
+ // TRANSLATORS: heal player
+ mBrowserBox->addRow("/gmheal 'NAME'", _("Heal"));
+ // TRANSLATORS: popup menu item
// TRANSLATORS: set player as killer
mBrowserBox->addRow("/killer 'NAME'", _("Killer"));
// TRANSLATORS: popup menu item