From efa45459a4d79cf1adba3327f6dad02fc5aa55cd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 24 Aug 2014 17:18:27 +0300 Subject: Move chat command /friend 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 e5072eb1e..8abf6f65d 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -352,6 +352,7 @@ namespace InputAction CLEAR_CHAT_TAB, IGNORE, UNIGNORE, + FRIEND, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 10668f463..f94af5e9e 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2937,6 +2937,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "unignore", + true}, + {"keyFriend", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::chatFriend, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "friend|befriend", true} }; -- cgit v1.2.3-70-g09d2