diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-24 17:59:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-24 17:59:08 +0300 |
commit | 1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816 (patch) | |
tree | 910a3ec3ec9529908b93eb1b0de8b44304d5882d /src/input | |
parent | efa45459a4d79cf1adba3327f6dad02fc5aa55cd (diff) | |
download | plus-1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816.tar.gz plus-1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816.tar.bz2 plus-1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816.tar.xz plus-1ceb3b90a9a00cae73cecb2b81ca3b6bd043f816.zip |
Move chat command /disregard into actions.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 8abf6f65d..eb6e8c881 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -353,6 +353,7 @@ namespace InputAction IGNORE, UNIGNORE, FRIEND, + DISREGARD, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index f94af5e9e..a8e27d04f 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2946,6 +2946,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "friend|befriend", + true}, + {"keyDisregard", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::chatDisregard, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "disregard", true} }; |