diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 20:25:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 20:25:03 +0300 |
commit | 64a067458ea169b9ff5b9a78ed1a011da86e8bdf (patch) | |
tree | 0bae841148a69a2bd160b914d3d17ed0b4ac3421 /src/input | |
parent | 704b5b31fea63483c81f0744d88e46a856573424 (diff) | |
download | mv-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.gz mv-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.bz2 mv-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.xz mv-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.zip |
Add chat command /killable. Also add it to player context menu.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
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 |