summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/actions/commands.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 9b3b2aca2..c74c2397a 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -568,8 +568,9 @@ impHandler(addAttack)
impHandler(removeAttack)
{
- if (!actorManager || event.args.empty()
- || !actorManager->isInIgnoreAttackList(event.args))
+ if (!actorManager || event.args.empty() || (
+ !actorManager->isInIgnoreAttackList(event.args) &&
+ !actorManager->isInPriorityAttackList(event.args)))
{
return false;
}