summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-21 17:22:29 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-21 17:24:16 +0300
commitd26b49843ee33ca927cc46edc8cc0bdfe97a903a (patch)
tree3edffa15445a159d0533fa86568adfb576bbb32d /src/input/inputactionmap.h
parent5b907fc3c1c21f69f1b86d4e3c16990dd2bff757 (diff)
downloadmv-d26b49843ee33ca927cc46edc8cc0bdfe97a903a.tar.gz
mv-d26b49843ee33ca927cc46edc8cc0bdfe97a903a.tar.bz2
mv-d26b49843ee33ca927cc46edc8cc0bdfe97a903a.tar.xz
mv-d26b49843ee33ca927cc46edc8cc0bdfe97a903a.zip
Add chat command and action for fire mercenary.
New chat command: /firemercenary.
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 3e95f4291..957c9a36a 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4062,6 +4062,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"serverunignore",
false},
+ {"keyMercenaryFire",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::mercenaryFire,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "mercenaryfire|firemercenary",
+ false}
};
#endif // INPUT_INPUTACTIONMAP_H