summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-02 19:47:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-02 19:48:41 +0300
commit36953465c0c740f29df24d7013a943eac88523a6 (patch)
treecb81122fd170de58e92c66455e51323741c48381
parent3fa501670bfd9c592768bc736a257d4c93e42599 (diff)
downloadmanaverse-36953465c0c740f29df24d7013a943eac88523a6.tar.gz
manaverse-36953465c0c740f29df24d7013a943eac88523a6.tar.bz2
manaverse-36953465c0c740f29df24d7013a943eac88523a6.tar.xz
manaverse-36953465c0c740f29df24d7013a943eac88523a6.zip
Allow target+attack action only if player alive.
-rw-r--r--src/input/inputactionmap.h2
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",