summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-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 52e3e021a..0637cda3a 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -295,7 +295,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
// TRANSLATORS: popup menu item
// TRANSLATORS: add monster to priotiry attack list
_("Add to priority attack list"));
- mBrowserBox->addRow("add attack",
+ mBrowserBox->addRow("/addattack 'NAME'",
// TRANSLATORS: popup menu item
// TRANSLATORS: add monster to attack list
_("Add to attack list"));
@@ -1107,15 +1107,6 @@ void PopupMenu::handleLink(const std::string &link,
{
NpcDialog::copyToClipboard(mBeingId, mX, mY);
}
- else if (link == "add attack" && being)
- {
- if (actorManager && being->getType() == ActorType::Monster)
- {
- actorManager->addAttackMob(being->getName());
- if (socialWindow)
- socialWindow->updateAttackFilter();
- }
- }
else if (link == "add attack priority" && being)
{
if (actorManager && being->getType() == ActorType::Monster)