From 0b448599f2a1422630e80fbd12f7c6fd9792460e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 21:34:05 +0300 Subject: Add chat command /alive. Also add it to player context menu. --- src/gui/popups/popupmenu.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/gui/popups/popupmenu.cpp') 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---"); -- cgit v1.2.3-70-g09d2