From 6e99f459bf4895e41118dbcf00ed3ba027b5b952 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 00:34:50 +0300 Subject: Move chat command /pseudoaway into actions. --- src/input/inputaction.h | 1 + src/input/inputactionmap.h | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'src/input') diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 44cb67704..007d03d66 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -374,6 +374,7 @@ namespace InputAction COMMAMD_EMOTE, COMMAND_EMOTE_PET, AWAY_MESSAGE, + PSEUDO_AWAY, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 1a67b32c0..08b8b7c40 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3136,6 +3136,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "away", true}, + {"keyPseudoAway", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::pseudoAway, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "pseudoaway", + true} }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-70-g09d2