summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 19:37:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 19:37:31 +0300
commit25bf3308cf490313b4a86b78643226f078ce4f7e (patch)
tree1276798181fb179babf42b1d5c9d7a7eb39f3157 /src/input/inputactionmap.h
parent77392dfa39913e4d6c51934deab51088da878e7a (diff)
downloadmv-25bf3308cf490313b4a86b78643226f078ce4f7e.tar.gz
mv-25bf3308cf490313b4a86b78643226f078ce4f7e.tar.bz2
mv-25bf3308cf490313b4a86b78643226f078ce4f7e.tar.xz
mv-25bf3308cf490313b4a86b78643226f078ce4f7e.zip
Add chat command /gotonpc. 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 38768dbe1..3a90e4a5d 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5377,6 +5377,12 @@ static const InputActionData inputActionData
"randomwarp|jump",
UseArgs_true,
Protected_true},
+ {"keyCommandGotoNpc",
+ defaultAction(&Actions::commandGotoNpc),
+ InputCondition::INGAME,
+ "gotonpc|warptonpc",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction