From 21fb62f9747578a7a81ccfa94369429fba4d4cc1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jun 2017 20:05:28 +0300 Subject: Remove popup menu action "fire mercenary". --- 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 06a8edc54..9e394fabb 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -343,7 +343,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) mBrowserBox->addRow("##3---"); // TRANSLATORS: popup menu item // TRANSLATORS: fire mercenary - mBrowserBox->addRow("fire mercenary", _("Fire")); + mBrowserBox->addRow("/firemercenary", _("Fire")); mBrowserBox->addRow("##3---"); break; @@ -1297,10 +1297,6 @@ void PopupMenu::handleLink(const std::string &link, if (chat != nullptr) chatHandler->joinChat(chat, ""); } - else if (link == "fire mercenary") - { - mercenaryHandler->fire(); - } else if (link == "mercenary to master") { mercenaryHandler->moveToMaster(); -- cgit v1.2.3-60-g2f50