From 7dcc42c841005c5e475bfcb37e78bc7bc15b4a9d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 Dec 2014 15:22:23 +0300 Subject: Add sell action. New chat command: /sell [name] --- 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 2a8904503..f4579881c 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4162,6 +4162,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::GAME, "buy", false}, + {"keySell", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::sell, + InputAction::NO_VALUE, 50, + InputCondition::GAME, + "sell", + false}, }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-60-g2f50