summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-28 22:10:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-28 22:10:30 +0300
commit15b9391da7ba4c307311d7dae6abc81a4b2bf25c (patch)
tree22abbcd556824073008de3493a42839848cef969 /src/input/inputactionmap.h
parentcd0883a1704c1b514b8b7317358949d43e230644 (diff)
downloadplus-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.gz
plus-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.bz2
plus-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.tar.xz
plus-15b9391da7ba4c307311d7dae6abc81a4b2bf25c.zip
Add chat command /npcmove. Also add it to npc 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 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