diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 22:09:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 22:09:53 +0300 |
commit | 46f4e5fb5c77d01de334e059b88837f8c7fe1f3e (patch) | |
tree | 3d20a6b2902e70caeedde5afcb65d0cb5913e69a /src/gui/popups/popupmenu.cpp | |
parent | f8423bd2d31ac4da409cabdc84fa2e3962336103 (diff) | |
download | manaverse-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.gz manaverse-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.bz2 manaverse-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.tar.xz manaverse-46f4e5fb5c77d01de334e059b88837f8c7fe1f3e.zip |
Add chat command /immortal. Also add it to player context menu.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index e287313d7..20ee37264 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -2745,6 +2745,10 @@ void PopupMenu::showPlayerGMCommands() // TRANSLATORS: heal player mBrowserBox->addRow("/gmheal 'NAME'", _("Heal")); // TRANSLATORS: popup menu item + // TRANSLATORS: enable immortal mode for player + mBrowserBox->addRow("/immortal 'NAME'", _("Immortal")); + mBrowserBox->addRow("##3---"); + // TRANSLATORS: popup menu item // TRANSLATORS: set player as killer mBrowserBox->addRow("/killer 'NAME'", _("Killer")); // TRANSLATORS: popup menu item |