From 51be674df969fbed48503c3482268599e8b3a01b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Apr 2015 12:32:35 +0300 Subject: Fix remove from priority attack list. --- src/actions/commands.cpp | 5 +++-- 1 file 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; } -- cgit v1.2.3-70-g09d2