summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-22 21:37:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-22 21:37:28 +0300
commit0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907 (patch)
tree85d715bb565d5cdbcc3926567d9d3141823f5ecb /src/gui/popups
parent70f7db29f291ea22e6dca7c03540beded7ec7bf8 (diff)
downloadplus-0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907.tar.gz
plus-0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907.tar.bz2
plus-0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907.tar.xz
plus-0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907.zip
Remove popup menu action "homunculus delete".
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index b13a2c374..1281a8d2c 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -366,7 +366,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item
// TRANSLATORS: delete homunculus
- mBrowserBox->addRow("homunculus delete", _("Kill"));
+ mBrowserBox->addRow("/homunculusfire", _("Kill"));
mBrowserBox->addRow("##3---");
}
addGmCommands();
@@ -1297,10 +1297,6 @@ void PopupMenu::handleLink(const std::string &link,
if (chat != nullptr)
chatHandler->joinChat(chat, "");
}
- else if (link == "homunculus delete")
- {
- homunculusHandler->fire();
- }
else if (link == "craftmenu")
{
showCraftPopup();