diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:26:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:26:14 +0300 |
commit | a7c2351c708c38bf020e8e1250b6a78cb2b6f89e (patch) | |
tree | be67051942049a004b2cfaa0535931aa5d4f169b /src/input | |
parent | 4bb530a447cc08fbe176cface478898e0b35f5d1 (diff) | |
download | mv-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.gz mv-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.bz2 mv-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.tar.xz mv-a7c2351c708c38bf020e8e1250b6a78cb2b6f89e.zip |
Move chat command /me 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 47414e0db..2eb05dac6 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -363,6 +363,7 @@ namespace InputAction CREATE_PARTY, CREATE_GUILD, PARTY, + ME, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index d01e870fb..368518afc 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3036,6 +3036,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "party", + true}, + {"keyMe", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::me, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "me", true} }; |