diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-02 19:47:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-02 19:48:41 +0300 |
commit | 36953465c0c740f29df24d7013a943eac88523a6 (patch) | |
tree | cb81122fd170de58e92c66455e51323741c48381 /src/input/inputactionmap.h | |
parent | 3fa501670bfd9c592768bc736a257d4c93e42599 (diff) | |
download | manaverse-36953465c0c740f29df24d7013a943eac88523a6.tar.gz manaverse-36953465c0c740f29df24d7013a943eac88523a6.tar.bz2 manaverse-36953465c0c740f29df24d7013a943eac88523a6.tar.xz manaverse-36953465c0c740f29df24d7013a943eac88523a6.zip |
Allow target+attack action only if player alive.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
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", |