summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-14 23:21:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-14 23:21:39 +0300
commit02f688326716e1f9a193f6f139021242241ad014 (patch)
tree6d2614374e1a70b2a1e077ff1e29bb2e98e72d94 /src/input/inputactionmap.h
parent949ff15ab6e7b841b996f8cb1a3bebb957cd4a85 (diff)
downloadmanaplus-02f688326716e1f9a193f6f139021242241ad014.tar.gz
manaplus-02f688326716e1f9a193f6f139021242241ad014.tar.bz2
manaplus-02f688326716e1f9a193f6f139021242241ad014.tar.xz
manaplus-02f688326716e1f9a193f6f139021242241ad014.zip
Add chat command for warp to location at same map.
New chat command: /warp X Y
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 e93d6029c..ac54eaedb 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4369,6 +4369,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"leaveparty|partyleave",
true},
+ {"keyWarp",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::warp,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "warp",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H