From 66c33ea3f5e82ae09b935f65d7183b4ffc8bb9b1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 22:29:43 +0300 Subject: Add chat command /hide. Also add it to player context menu. --- src/input/inputactionmap.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index d42fda40d..625b7dd88 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5419,6 +5419,12 @@ static const InputActionData inputActionData "immortal", UseArgs_true, Protected_true}, + {"keyCommandHide", + defaultAction(&Actions::commandHide), + InputCondition::INGAME, + "hide", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-70-g09d2