diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-09 21:29:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-09 21:29:44 +0300 |
commit | b04e6dda4c7a4d6996d730e97f99c3ac9d4fdcd5 (patch) | |
tree | e0cb051772ba48c804a56b3f770256b6c9a1db68 | |
parent | 7e19951e61f7b9647afee74a9b8e49863e0f4e95 (diff) | |
download | ManaVerse-b04e6dda4c7a4d6996d730e97f99c3ac9d4fdcd5.tar.gz ManaVerse-b04e6dda4c7a4d6996d730e97f99c3ac9d4fdcd5.tar.bz2 ManaVerse-b04e6dda4c7a4d6996d730e97f99c3ac9d4fdcd5.tar.xz ManaVerse-b04e6dda4c7a4d6996d730e97f99c3ac9d4fdcd5.zip |
Fix conditions for magic and human attack actions.
-rw-r--r-- | src/input/inputactionmap.h | 6 |
1 files changed, 4 insertions, 2 deletions
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", |