diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-28 22:10:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-28 22:10:30 +0300 |
commit | 15b9391da7ba4c307311d7dae6abc81a4b2bf25c (patch) | |
tree | 22abbcd556824073008de3493a42839848cef969 /src/input | |
parent | cd0883a1704c1b514b8b7317358949d43e230644 (diff) | |
download | mv-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.gz mv-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.bz2 mv-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.xz mv-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.zip |
Add chat command /npcmove. Also add it to npc 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 80bbe090a..40b2c0c4c 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -5449,6 +5449,12 @@ static const InputActionData inputActionData "unjail", UseArgs_true, Protected_true}, + {"keyCommandNpcMove", + defaultAction(&Actions::commandNpcMove), + InputCondition::INGAME, + "npcmove|movenpc|warpnpc|npcwarp", + UseArgs_true, + Protected_true}, }; #undef defaultAction |