summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-11 02:10:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-11 02:10:20 +0300
commitf351cda87ca7dcfad1772e78ebdecd184a06e385 (patch)
tree340b6caec0106cb480afb7f7fb97ee78ab6516ae /src/input/inputactionmap.h
parent48d66daa641c58d68a4150b1f6bf958dfb8ecb13 (diff)
downloadmv-f351cda87ca7dcfad1772e78ebdecd184a06e385.tar.gz
mv-f351cda87ca7dcfad1772e78ebdecd184a06e385.tar.bz2
mv-f351cda87ca7dcfad1772e78ebdecd184a06e385.tar.xz
mv-f351cda87ca7dcfad1772e78ebdecd184a06e385.zip
Add chat command for silent sendong whisper message.
New chat command: /w2 name message Aliases: /whisper2 /msg2
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
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