diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 22:29:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 22:29:29 +0300 |
commit | 3a091245572872f5cda79eab92eb392f92c02b39 (patch) | |
tree | 512e1b815194d865f67714542ab076411e084f32 /src/input | |
parent | 10029599ee4cb4c26531303ab0e07cedc856f1ad (diff) | |
download | plus-3a091245572872f5cda79eab92eb392f92c02b39.tar.gz plus-3a091245572872f5cda79eab92eb392f92c02b39.tar.bz2 plus-3a091245572872f5cda79eab92eb392f92c02b39.tar.xz plus-3a091245572872f5cda79eab92eb392f92c02b39.zip |
Move chat command /move 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 9385ae765..aeb2164e6 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -367,6 +367,7 @@ namespace InputAction TOGGLE, PRESENT, PRINT_ALL, + MOVE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index b55887c65..05bb49616 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3072,7 +3072,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "all", - false} + false}, + {"keyMove", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::move, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "move", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |