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 b9e412e3f..dfdab0777 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -390,6 +390,7 @@ namespace InputAction WAIT, UPTIME, ADD_PRIORITY_ATTACK, + ADD_ATTACK, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index f7f8fde27..b7f59361d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3279,6 +3279,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "addpriorityattack", + true}, + {"keyAddAttack", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::addAttack, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "addattack", true} }; |