From 02f688326716e1f9a193f6f139021242241ad014 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Dec 2014 23:21:39 +0300 Subject: Add chat command for warp to location at same map. New chat command: /warp X Y --- src/input/inputactionmap.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/input/inputactionmap.h') 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 -- cgit v1.2.3-60-g2f50