From 36953465c0c740f29df24d7013a943eac88523a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Dec 2014 19:47:25 +0300 Subject: Allow target+attack action only if player alive. --- src/input/inputactionmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index cb9805d3a..afa66df87 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -101,7 +101,7 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { &Actions::targetAttack, InputAction::NO_VALUE, 50, InputCondition::GAME | InputCondition::NOFOLLOW - | InputCondition::VALIDSPEED, + | InputCondition::VALIDSPEED | InputCondition::ALIVE, "targetattack", false}, {"keyMoveToTarget", -- cgit v1.2.3-70-g09d2