From ba4e639a333eed40f95f7bf7a361c0bd0186c334 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 27 Aug 2014 15:36:30 +0300 Subject: Move chat command /removename into actions. --- src/input/inputaction.h | 1 + src/input/inputactionmap.h | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'src/input') diff --git a/src/input/inputaction.h b/src/input/inputaction.h index cdfe410fa..36f9277b1 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -411,6 +411,7 @@ namespace InputAction ENABLE_HIGHLIGHT, DISABLE_HIGHLIGHT, DONT_REMOVE_NAME, + REMOVE_NAME, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index dad0f0cc1..244400d1b 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3476,6 +3476,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "dontremovename", + false}, + {"keyRemoveName", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::removeName, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "removename", false} }; -- cgit v1.2.3-70-g09d2