From 0ae262d137e24c44064f59102ff6b72b19c60b71 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Aug 2014 13:39:28 +0300 Subject: Move chat command /toggle into actions. --- src/input/inputactionmap.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 368518afc..289490723 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3045,7 +3045,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "me", - true} + true}, + {"keyToggle", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::toggle, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "toggle", + false} }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-70-g09d2