summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 22:13:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 22:13:50 +0300
commit81a7b06f2ff1fad4b012068b15975bdb5e86a0e4 (patch)
tree74719015e27e35928403aded155ac31abede5e6c /src/input/inputactionmap.h
parent1a652f220d1c74333cd2f54953dbaf41907314b6 (diff)
downloadmv-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.gz
mv-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.bz2
mv-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.tar.xz
mv-81a7b06f2ff1fad4b012068b15975bdb5e86a0e4.zip
Move chat command /clear into actions.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index fc2b601b6..b5498427d 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -2910,7 +2910,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"q|query",
- true}
+ true},
+ {"keyClearChatTab",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::clearChatTab,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "clear",
+ false}
};
#endif // INPUT_INPUTACTIONMAP_H