From 1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Aug 2014 17:59:08 +0300 Subject: Move chat command /disregard 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 8abf6f65d..eb6e8c881 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -353,6 +353,7 @@ namespace InputAction IGNORE, UNIGNORE, FRIEND, + DISREGARD, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index f94af5e9e..a8e27d04f 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2946,6 +2946,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "friend|befriend", + true}, + {"keyDisregard", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::chatDisregard, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "disregard", true} }; -- cgit v1.2.3-70-g09d2