summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-22 21:13:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-22 21:13:07 +0300
commit1e7d0d8e9873283a0ec09a62e579b718c3c06e51 (patch)
treef54c3317f1d3fe70cfc2634dba7b0a7744270ece /src/gui/popups
parentbda7b8cc0776456e8d392be45be9b74183cf0f37 (diff)
downloadplus-1e7d0d8e9873283a0ec09a62e579b718c3c06e51.tar.gz
plus-1e7d0d8e9873283a0ec09a62e579b718c3c06e51.tar.bz2
plus-1e7d0d8e9873283a0ec09a62e579b718c3c06e51.tar.xz
plus-1e7d0d8e9873283a0ec09a62e579b718c3c06e51.zip
Add chat command for move homunculus to master.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp8
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();