diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 21:59:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 21:59:43 +0300 |
commit | 1a652f220d1c74333cd2f54953dbaf41907314b6 (patch) | |
tree | fdaf09d8cb84ca036bdf73c47b0de5165d9e773d /src/input | |
parent | 475aa157df7400ce40ef9a5cc4cb441291d45df9 (diff) | |
download | manaplus-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.gz manaplus-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.bz2 manaplus-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.xz manaplus-1a652f220d1c74333cd2f54953dbaf41907314b6.zip |
Move chat command /query 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 852529934..15af94ec7 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -348,6 +348,7 @@ namespace InputAction WHERE, WHO, WHISPER, + QUERY, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 165457b27..fc2b601b6 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -2901,6 +2901,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "w|whisper|msg", + true}, + {"keyQuery", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::query, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "q|query", true} }; |