diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 00:25:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 00:25:26 +0300 |
commit | 369dccecf7540c8ea3c050116c2fde5914e75a40 (patch) | |
tree | 61503d6de7437c5c702e5f9758725a7f4b74fa78 /src/input | |
parent | 1333ccee41e2acca4ecf4a90a6b230e8bbd23f7d (diff) | |
download | manaplus-369dccecf7540c8ea3c050116c2fde5914e75a40.tar.gz manaplus-369dccecf7540c8ea3c050116c2fde5914e75a40.tar.bz2 manaplus-369dccecf7540c8ea3c050116c2fde5914e75a40.tar.xz manaplus-369dccecf7540c8ea3c050116c2fde5914e75a40.zip |
Move chat command /away 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 c58de0c58..44cb67704 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -373,6 +373,7 @@ namespace InputAction COMMAMD_OUTFIT, COMMAMD_EMOTE, COMMAND_EMOTE_PET, + AWAY_MESSAGE, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 63dbb622c..1a67b32c0 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3126,7 +3126,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "emotepet", - true} + true}, + {"keyAwayMessage", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::awayMessage, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "away", + true}, }; #endif // INPUT_INPUTACTIONMAP_H |