From a7f88de7bbea019bf443da0aa31b03d2273739df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Feb 2016 23:24:54 +0300 Subject: Add chat command /hidenpc. Also add it to npc 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 40b2c0c4c..d93ccf960 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5455,6 +5455,12 @@ static const InputActionData inputActionData "npcmove|movenpc|warpnpc|npcwarp", UseArgs_true, Protected_true}, + {"keyCommandNpcHide", + defaultAction(&Actions::commandNpcHide), + InputCondition::INGAME, + "npchide|hidenpc", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-70-g09d2