diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 20:13:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 20:13:04 +0300 |
commit | 704b5b31fea63483c81f0744d88e46a856573424 (patch) | |
tree | 37a3530e9be27f0aca4283ec90944174aae542fa /src/input | |
parent | 25bf3308cf490313b4a86b78643226f078ce4f7e (diff) | |
download | manaplus-704b5b31fea63483c81f0744d88e46a856573424.tar.gz manaplus-704b5b31fea63483c81f0744d88e46a856573424.tar.bz2 manaplus-704b5b31fea63483c81f0744d88e46a856573424.tar.xz manaplus-704b5b31fea63483c81f0744d88e46a856573424.zip |
Add chat command /killer. 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 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 |