summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 95be13364..bb43e2a9d 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -581,8 +581,8 @@ impHandler(wait)
impHandler(addPriorityAttack)
{
- if (!actorManager
- || actorManager->isInPriorityAttackList(event.args))
+ if (!actorManager ||
+ actorManager->isInPriorityAttackList(event.args))
{
return false;
}
@@ -610,9 +610,9 @@ impHandler(addAttack)
impHandler(removeAttack)
{
- if (!actorManager || event.args.empty() || (
- !actorManager->isInIgnoreAttackList(event.args) &&
- !actorManager->isInPriorityAttackList(event.args)))
+ if (!actorManager ||
+ event.args.empty() ||
+ !actorManager->isInAttackList(event.args))
{
return false;
}