diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:43:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 21:43:19 +0300 |
commit | 0888773fc1de5cc2aa1d92564e8d05231189e6f9 (patch) | |
tree | 001209ae09a69d15d29007d8a1762de56c94e362 /src/input | |
parent | ac2cda962d5fc3e23858527be45a8ae7b9856b84 (diff) | |
download | manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.gz manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.bz2 manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.xz manaverse-0888773fc1de5cc2aa1d92564e8d05231189e6f9.zip |
Move chat command /addattack into actions.
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} }; |