summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp4
1 files changed, 3 insertions, 1 deletions
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;
}