From f5d2e707df5171146af3fe1366ecb8fa17b56eea Mon Sep 17 00:00:00 2001 From: Joseph Botosh Date: Sat, 6 Jun 2015 16:43:32 +0300 Subject: remove duplicate checkAttackPermissions(target) for /atkhuman --- src/actions/actions.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index a4520543c..aaa71848f 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -832,11 +832,8 @@ impHandler0(attackHuman) localPlayer, 10, ActorType::Player, AllowSort_true); if (target) { - if (localPlayer->checAttackPermissions(target)) - { - localPlayer->setTarget(target); - localPlayer->attack2(target, true); - } + localPlayer->setTarget(target); + localPlayer->attack2(target, true); } return true; } -- cgit v1.2.3-70-g09d2