diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:09:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:09:15 +0300 |
commit | 32ec83a137def94dbea627350f0318c21afbbc09 (patch) | |
tree | 97bccb560409702d7ecb74d12579946e3a75dd13 /src/input | |
parent | fc2514926927b709dd59325e83b7da9fd10fa36e (diff) | |
download | manaverse-32ec83a137def94dbea627350f0318c21afbbc09.tar.gz manaverse-32ec83a137def94dbea627350f0318c21afbbc09.tar.bz2 manaverse-32ec83a137def94dbea627350f0318c21afbbc09.tar.xz manaverse-32ec83a137def94dbea627350f0318c21afbbc09.zip |
Move chat command /talkraw 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 ee8d44a95..65663cd57 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -416,6 +416,7 @@ namespace InputAction ENABLE_AWAY, TEST_PARTICLE, CREATE_ITEMS, + TALK_RAW, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 9485d46d7..baaee04d1 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3521,6 +3521,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "createitems", + false}, + {"keyTalkRaw", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::talkRaw, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "talkraw", false} }; |