From ca20df8ccb5eac498a9eab2f3c03d30fe495ef30 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 19:26:42 +0300 Subject: Add chat command /locate. Also add locate 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 c91321f3d..9dcb7b05c 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5317,6 +5317,12 @@ static const InputActionData inputActionData "showinventory|inventorylist|itemlist", UseArgs_true, Protected_true}, + {"keyLocatePlayer", + defaultAction(&Actions::locatePlayer), + InputCondition::INGAME, + "locate|locateplayer|whereplayer", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-70-g09d2