diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 23:16:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 23:16:19 +0300 |
commit | c33d54dd45efd88f95014bd41813accb15e76f89 (patch) | |
tree | ec19b20b2f59bebde3afd4c6ef2920fff666b1a9 /src/input | |
parent | 81a7b06f2ff1fad4b012068b15975bdb5e86a0e4 (diff) | |
download | plus-c33d54dd45efd88f95014bd41813accb15e76f89.tar.gz plus-c33d54dd45efd88f95014bd41813accb15e76f89.tar.bz2 plus-c33d54dd45efd88f95014bd41813accb15e76f89.tar.xz plus-c33d54dd45efd88f95014bd41813accb15e76f89.zip |
Move chat command /ignore into actions.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 36adc4759..1f59fc288 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -350,6 +350,7 @@ namespace InputAction WHISPER, QUERY, CLEAR_CHAT_TAB, + IGNORE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index b5498427d..fc0e26755 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2919,7 +2919,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "clear", - false} + false}, + {"keyIgnore", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::chatIgnore, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "ignore", + true} }; #endif // INPUT_INPUTACTIONMAP_H |