diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:27:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 13:27:52 +0300 |
commit | d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a (patch) | |
tree | bf4d4529ef1319e52fa1dd9534884c97bb4c2849 /src/input | |
parent | 9761d1af134b3e699a29262abdddbe86f2b8dfe3 (diff) | |
download | mv-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.gz mv-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.bz2 mv-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.tar.xz mv-d003da4b7bbf1b37f95c2e8e761fbe3e54b25c7a.zip |
Move chat command /execute 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 0a9e8ec21..c0c91d7f8 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -406,6 +406,7 @@ namespace InputAction DUMP_MODS, URL, OPEN_URL, + EXECUTE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index d40a0ae99..0e16c866c 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3423,6 +3423,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "open", + true}, + {"keyExecute", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::execute, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "execute", true} }; |