summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-14 12:52:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-14 12:52:50 +0300
commitb76970dadf4c973180644a2b150729f071ef579a (patch)
treefbb5b6ed9a5ae29a7733fa3f2affdcdccb078589 /src/input/inputactionmap.h
parent69348d6158802801a626938d5ced85807fd514d8 (diff)
downloadmv-b76970dadf4c973180644a2b150729f071ef579a.tar.gz
mv-b76970dadf4c973180644a2b150729f071ef579a.tar.bz2
mv-b76970dadf4c973180644a2b150729f071ef579a.tar.xz
mv-b76970dadf4c973180644a2b150729f071ef579a.zip
Add chat command for kick player from party.
New chat command: /kickparty NAME Alias: /partykick NAME
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 146ecba1c..c32fec039 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -4333,6 +4333,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputCondition::INGAME,
"unprotectitem|itemunprotect",
true},
+ {"keyKickParty",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::kickParty,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "kickparty|partykick",
+ true},
};
#endif // INPUT_INPUTACTIONMAP_H