diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 0637cda3a..45236a727 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -291,7 +291,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) } else { - mBrowserBox->addRow("add attack priority", + mBrowserBox->addRow("/addpriorityattack 'NAME'", // TRANSLATORS: popup menu item // TRANSLATORS: add monster to priotiry attack list _("Add to priority attack list")); @@ -1107,15 +1107,6 @@ void PopupMenu::handleLink(const std::string &link, { NpcDialog::copyToClipboard(mBeingId, mX, mY); } - else if (link == "add attack priority" && being) - { - if (actorManager && being->getType() == ActorType::Monster) - { - actorManager->addPriorityAttackMob(being->getName()); - if (socialWindow) - socialWindow->updateAttackFilter(); - } - } else if (link == "add attack ignore" && being) { if (actorManager && being->getType() == ActorType::Monster) |