From f351cda87ca7dcfad1772e78ebdecd184a06e385 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Dec 2014 02:10:20 +0300 Subject: Add chat command for silent sendong whisper message. New chat command: /w2 name message Aliases: /whisper2 /msg2 --- src/input/inputactionmap.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index f4579881c..8e14f911c 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4171,6 +4171,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::GAME, "sell", false}, + {"keyWhisper2", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::msg2, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "w2|whisper2|msg2", + true}, }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-60-g2f50