summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/popups/popupmenu.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 1420d5714..52e3e021a 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -284,7 +284,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
|| actorManager->isInIgnoreAttackList(name)
|| actorManager->isInPriorityAttackList(name))
{
- mBrowserBox->addRow("remove attack",
+ mBrowserBox->addRow("/removeattack 'NAME'",
// TRANSLATORS: remove monster from attack list
// TRANSLATORS: popup menu item
_("Remove from attack list"));
@@ -1107,15 +1107,6 @@ void PopupMenu::handleLink(const std::string &link,
{
NpcDialog::copyToClipboard(mBeingId, mX, mY);
}
- else if (link == "remove attack" && being)
- {
- if (actorManager && being->getType() == ActorType::Monster)
- {
- actorManager->removeAttackMob(being->getName());
- if (socialWindow)
- socialWindow->updateAttackFilter();
- }
- }
else if (link == "add attack" && being)
{
if (actorManager && being->getType() == ActorType::Monster)