diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index dfdab0777..e4b9be2f9 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -391,6 +391,7 @@ namespace InputAction UPTIME, ADD_PRIORITY_ATTACK, ADD_ATTACK, + REMOVE_ATTACK, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index b7f59361d..9a6b4d576 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3288,6 +3288,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "addattack", + true}, + {"keyRemoveAttack", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::removeAttack, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "removeattack|removeignoreattack", true} }; |