From 52f9607980c82f53bbc76a5bb5825cbff61dc3b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Feb 2016 17:47:26 +0300 Subject: Add chat command /showlevel. Also add show level commands 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 4ffd21800..8e834168d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5287,6 +5287,12 @@ static const InputActionData inputActionData "gmcharcommands|playerchargmcommands|playercharcommands", UseArgs_true, Protected_true}, + {"keyCommandShowLevel", + defaultAction(&Actions::commandShowLevel), + InputCondition::INGAME, + "showlevel|exp", + UseArgs_true, + Protected_true}, }; #undef defaultAction -- cgit v1.2.3-70-g09d2