diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-22 21:37:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-22 21:37:28 +0300 |
commit | 0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907 (patch) | |
tree | 85d715bb565d5cdbcc3926567d9d3141823f5ecb /src/gui/popups | |
parent | 70f7db29f291ea22e6dca7c03540beded7ec7bf8 (diff) | |
download | mv-0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907.tar.gz mv-0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907.tar.bz2 mv-0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907.tar.xz mv-0f6dad4c14f1f87797f903d8b4c4b87dcbc6a907.zip |
Remove popup menu action "homunculus delete".
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 6 |
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(); |