From b04e6dda4c7a4d6996d730e97f99c3ac9d4fdcd5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Oct 2015 21:29:44 +0300 Subject: Fix conditions for magic and human attack actions. --- src/input/inputactionmap.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/input') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index b3ac8adb5..3add96c4f 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2195,7 +2195,8 @@ static const InputActionData inputActionData Input::GRP_DEFAULT, &Actions::magicAttack, InputAction::NO_VALUE, 50, - InputCondition::GAME | InputCondition::VALIDSPEED, + InputCondition::GAME | InputCondition::NOFOLLOW + | InputCondition::VALIDSPEED, "magicattack", UseArgs_false}, {"keySwitchMagicAttack", @@ -2932,7 +2933,8 @@ static const InputActionData inputActionData UseArgs_true}, {"keyAttackHuman", defaultAction(&Actions::attackHuman), - InputCondition::INGAME, + InputCondition::GAME | InputCondition::NOFOLLOW + | InputCondition::VALIDSPEED, "atkhuman", UseArgs_false}, {"keyOutfit", -- cgit v1.2.3-70-g09d2