From 1e7d0d8e9873283a0ec09a62e579b718c3c06e51 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Jun 2017 21:13:07 +0300 Subject: Add chat command for move homunculus to master. --- src/gui/popups/popupmenu.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/gui/popups/popupmenu.cpp') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index afc74fdd7..15fcc34cb 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -352,9 +352,9 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) const HomunculusInfo *const info = PlayerInfo::getHomunculus(); if (info != nullptr) { - mBrowserBox->addRow("homunculus to master", + mBrowserBox->addRow("/homunculustomaster", // TRANSLATORS: popup menu item - // TRANSLATORS: Mercenary move to master + // TRANSLATORS: homunculus move to master _("Move to master")); // TRANSLATORS: popup menu item // TRANSLATORS: feed homunculus @@ -1297,10 +1297,6 @@ void PopupMenu::handleLink(const std::string &link, if (chat != nullptr) chatHandler->joinChat(chat, ""); } - else if (link == "homunculus to master") - { - homunculusHandler->moveToMaster(); - } else if (link == "homunculus feed") { homunculusHandler->feed(); -- cgit v1.2.3-60-g2f50