summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-21 17:52:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-21 18:03:13 +0300
commit94e909f4ae557eea6f2cc7737d14c46968920b18 (patch)
tree76639ed4f19a3c42cdd593f33532b1f7e9ac61fd /src/input/inputactionmap.h
parentd26b49843ee33ca927cc46edc8cc0bdfe97a903a (diff)
downloadmanaplus-94e909f4ae557eea6f2cc7737d14c46968920b18.tar.gz
manaplus-94e909f4ae557eea6f2cc7737d14c46968920b18.tar.bz2
manaplus-94e909f4ae557eea6f2cc7737d14c46968920b18.tar.xz
manaplus-94e909f4ae557eea6f2cc7737d14c46968920b18.zip
Add action for targetting mercenaries.
New chat command: targetmercenary
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 957c9a36a..58ca20e6a 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4070,6 +4070,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"mercenaryfire|firemercenary",
+ false},
+ {"keyTargetMercenary",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::targetMercenary,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME | InputCondition::NOTARGET,
+ "targetmercenary",
false}
};