summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 21:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 21:43:19 +0300
commit0888773fc1de5cc2aa1d92564e8d05231189e6f9 (patch)
tree001209ae09a69d15d29007d8a1762de56c94e362 /src/input/inputactionmap.h
parentac2cda962d5fc3e23858527be45a8ae7b9856b84 (diff)
downloadplus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.gz
plus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.bz2
plus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.tar.xz
plus-0888773fc1de5cc2aa1d92564e8d05231189e6f9.zip
Move chat command /addattack into actions.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
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}
};