From 7891954d9767df4fc4ecf1c44830ca9c18a34e10 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 16:36:30 +0300 Subject: Move chat command /gm 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 aa9432b06..27d47a707 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3566,7 +3566,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "uploadlog", - false} + false}, + {"keyGm", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::gm, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "gm", + true} }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-60-g2f50