From dc21556d658a1006c35ddf7acc95c71d9340eec4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Jan 2016 04:01:54 +0300 Subject: Add context menu and chat command for remove monster from different attack lists. --- src/actions/commands.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 2cfe01720..a87db0a16 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -612,7 +612,9 @@ impHandler(removeAttack) { if (!actorManager || event.args.empty() || - !actorManager->isInAttackList(event.args)) + (!actorManager->isInAttackList(event.args) && + !actorManager->isInPriorityAttackList(event.args) && + !actorManager->isInIgnoreAttackList(event.args))) { return false; } -- cgit v1.2.3-70-g09d2