From e62706843143949918653a03cc0cbf6620687a60 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 Aug 2014 13:04:02 +0300 Subject: Move chat command /createparty into actions. --- src/input/inputaction.h | 1 + src/input/inputactionmap.h | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'src/input') diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 68c0483d1..26d62365d 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -360,6 +360,7 @@ namespace InputAction ERASE, CLEAN_GRAPHICS, CLEAN_FONTS, + CREATE_PARTY, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index f8d8c944f..019b6e7e7 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3009,7 +3009,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "cleanfonts", - false} + false}, + {"keyCreateParty", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::createParty, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "createparty", + true} }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-70-g09d2