From d601630f26cd1043f5f2467757093f54c6269158 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Dec 2014 21:52:25 +0300 Subject: Add chat command for unprotect item. New chat command: /unprotectitem ID Alias: /itemunprotect ID --- 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 ab2a8ea29..146ecba1c 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -4324,6 +4324,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "protectitem|itemprotect", true}, + {"keyUnProtectItem", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::unprotectItem, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "unprotectitem|itemunprotect", + true}, }; #endif // INPUT_INPUTACTIONMAP_H -- cgit v1.2.3-60-g2f50