diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-24 17:14:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-24 17:14:07 +0300 |
commit | f5651bc452096c8cd84d7c801228d64af3a165d2 (patch) | |
tree | afc3a673675dbae99b30e5c61be6bf713cb70395 /src/input | |
parent | c33d54dd45efd88f95014bd41813accb15e76f89 (diff) | |
download | manaplus-f5651bc452096c8cd84d7c801228d64af3a165d2.tar.gz manaplus-f5651bc452096c8cd84d7c801228d64af3a165d2.tar.bz2 manaplus-f5651bc452096c8cd84d7c801228d64af3a165d2.tar.xz manaplus-f5651bc452096c8cd84d7c801228d64af3a165d2.zip |
Move chat command /unignore 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 1f59fc288..e5072eb1e 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -351,6 +351,7 @@ namespace InputAction QUERY, CLEAR_CHAT_TAB, IGNORE, + UNIGNORE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index fc0e26755..10668f463 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2928,6 +2928,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "ignore", + true}, + {"keyUnignore", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::chatUnignore, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "unignore", true} }; |