summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 20:13:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 20:13:04 +0300
commit704b5b31fea63483c81f0744d88e46a856573424 (patch)
tree37a3530e9be27f0aca4283ec90944174aae542fa /src/input/inputactionmap.h
parent25bf3308cf490313b4a86b78643226f078ce4f7e (diff)
downloadplus-704b5b31fea63483c81f0744d88e46a856573424.tar.gz
plus-704b5b31fea63483c81f0744d88e46a856573424.tar.bz2
plus-704b5b31fea63483c81f0744d88e46a856573424.tar.xz
plus-704b5b31fea63483c81f0744d88e46a856573424.zip
Add chat command /killer. Also add it to player context menu.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 3a90e4a5d..93f1e73bb 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5383,6 +5383,12 @@ static const InputActionData inputActionData
"gotonpc|warptonpc",
UseArgs_true,
Protected_true},
+ {"keyCommandKiller",
+ defaultAction(&Actions::commandKiller),
+ InputCondition::INGAME,
+ "setkiller|killer",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction