diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 21:13:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 21:13:07 +0300 |
commit | 1e7d0d8e9873283a0ec09a62e579b718c3c06e51 (patch) | |
tree | f54c3317f1d3fe70cfc2634dba7b0a7744270ece /src/gui/popups/popupmenu.cpp | |
parent | bda7b8cc0776456e8d392be45be9b74183cf0f37 (diff) | |
download | manaverse-1e7d0d8e9873283a0ec09a62e579b718c3c06e51.tar.gz manaverse-1e7d0d8e9873283a0ec09a62e579b718c3c06e51.tar.bz2 manaverse-1e7d0d8e9873283a0ec09a62e579b718c3c06e51.tar.xz manaverse-1e7d0d8e9873283a0ec09a62e579b718c3c06e51.zip |
Add chat command for move homunculus to master.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
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(); |