summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-12 20:29:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-12 20:29:50 +0300
commit645553c783c2cacb1ed140aa53792c35c3b971d2 (patch)
treefe47d96a441ca3be35c0747b4494677d023df6c2 /src/input/inputactionmap.h
parentb07ac409f1940d3767c8e4ade0990d11d2d38b96 (diff)
downloadmv-645553c783c2cacb1ed140aa53792c35c3b971d2.tar.gz
mv-645553c783c2cacb1ed140aa53792c35c3b971d2.tar.bz2
mv-645553c783c2cacb1ed140aa53792c35c3b971d2.tar.xz
mv-645553c783c2cacb1ed140aa53792c35c3b971d2.zip
Add chat command for move to being location.
New chat command: /navigateto NAME
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 08d7bbf7a..e9457058b 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4225,6 +4225,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"wt|whispertext|msgtext",
true},
+ {"keyNavigateTo",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::navigateTo,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "navigateto",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H