diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 12:04:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 12:04:45 +0300 |
commit | 1a9a7ece01b6633e1fe860cba03bfd0d895c172d (patch) | |
tree | da2b92377903081be4746a2eb8ce5a879c334691 /src/input | |
parent | ae4062ed3c48706127c32efbc70cca0cc5ce19f8 (diff) | |
download | plus-1a9a7ece01b6633e1fe860cba03bfd0d895c172d.tar.gz plus-1a9a7ece01b6633e1fe860cba03bfd0d895c172d.tar.bz2 plus-1a9a7ece01b6633e1fe860cba03bfd0d895c172d.tar.xz plus-1a9a7ece01b6633e1fe860cba03bfd0d895c172d.zip |
Move chat command /imitation 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 7a9dcaecf..aa7cd90a4 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -377,6 +377,7 @@ namespace InputAction PSEUDO_AWAY, FOLLOW, NAVIGATE, + IMITATION, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index ca359804b..01953a71d 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3162,6 +3162,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "navigate", + true}, + {"keyImitation", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::imitation, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "imitation", true} }; |