From 4e736ecaea7ec5bdaaa0ef9bb91373be8a2d1e2b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Dec 2014 21:54:35 +0300 Subject: Add chat command for leave party. New chat command: /leaveparty Alias: /partyleave --- src/input/inputactionmap.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/input/inputactionmap.h') diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 28def4d1b..e93d6029c 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4360,6 +4360,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "kick", true}, + {"keyLeaveParty", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::leaveParty, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "leaveparty|partyleave", + true}, }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-60-g2f50