diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 21:34:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 21:36:40 +0300 |
commit | 0b448599f2a1422630e80fbd12f7c6fd9792460e (patch) | |
tree | 835ad05cc868af0255d97995968bbafa9594eb93 /src/gui/popups | |
parent | 3fe3a77e1ae0db748a8a0b8d500db24a6a964b44 (diff) | |
download | mv-0b448599f2a1422630e80fbd12f7c6fd9792460e.tar.gz mv-0b448599f2a1422630e80fbd12f7c6fd9792460e.tar.bz2 mv-0b448599f2a1422630e80fbd12f7c6fd9792460e.tar.xz mv-0b448599f2a1422630e80fbd12f7c6fd9792460e.zip |
Add chat command /alive. Also add it to player context menu.
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 34d29ef10..d442c0d99 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1338,10 +1338,6 @@ void PopupMenu::handleLink(const std::string &link, { adminHandler->recallName(mNick); } - else if (link == "revive" && !mNick.empty()) - { - adminHandler->reviveName(mNick); - } else if (link == "ipcheck" && !mNick.empty()) { adminHandler->ipcheckName(mNick); @@ -2732,7 +2728,7 @@ void PopupMenu::showPlayerGMCommands() mBrowserBox->addRow("recall", _("Recall")); // TRANSLATORS: popup menu item // TRANSLATORS: revive player - mBrowserBox->addRow("revive", _("Revive")); + mBrowserBox->addRow("/alive 'NAME'", _("Revive")); if (!legacy && mBeingId != BeingId_zero) { mBrowserBox->addRow("##3---"); |