summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-14 21:54:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-14 21:54:35 +0300
commit4e736ecaea7ec5bdaaa0ef9bb91373be8a2d1e2b (patch)
tree01865f4cafd5ea70787f97e24611155ee7160e41 /src/input/inputactionmap.h
parent83018227d49168b67a58fd80f5bb415b4f78d0ff (diff)
downloadmv-4e736ecaea7ec5bdaaa0ef9bb91373be8a2d1e2b.tar.gz
mv-4e736ecaea7ec5bdaaa0ef9bb91373be8a2d1e2b.tar.bz2
mv-4e736ecaea7ec5bdaaa0ef9bb91373be8a2d1e2b.tar.xz
mv-4e736ecaea7ec5bdaaa0ef9bb91373be8a2d1e2b.zip
Add chat command for leave party.
New chat command: /leaveparty Alias: /partyleave
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 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