summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 20:25:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 20:25:03 +0300
commit64a067458ea169b9ff5b9a78ed1a011da86e8bdf (patch)
tree0bae841148a69a2bd160b914d3d17ed0b4ac3421 /src/input
parent704b5b31fea63483c81f0744d88e46a856573424 (diff)
downloadplus-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.gz
plus-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.bz2
plus-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.xz
plus-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.zip
Add chat command /killable. Also add it to player context menu.
Diffstat (limited to 'src/input')
-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 93f1e73bb..6c0975015 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5389,6 +5389,12 @@ static const InputActionData inputActionData
"setkiller|killer",
UseArgs_true,
Protected_true},
+ {"keyCommandKillable",
+ defaultAction(&Actions::commandKillable),
+ InputCondition::INGAME,
+ "setkillable|killable",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction