From c33d54dd45efd88f95014bd41813accb15e76f89 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 Aug 2014 23:16:19 +0300 Subject: Move chat command /ignore into actions. --- src/input/inputaction.h | 1 + src/input/inputactionmap.h | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'src/input') diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 36adc4759..1f59fc288 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -350,6 +350,7 @@ namespace InputAction WHISPER, QUERY, CLEAR_CHAT_TAB, + IGNORE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index b5498427d..fc0e26755 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2919,7 +2919,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "clear", - false} + false}, + {"keyIgnore", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::chatIgnore, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "ignore", + true} }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-70-g09d2