summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-28 23:34:08 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-28 23:34:08 +0300
commit54cdcc6cded841b2c5823a74f58e4f3b06f81622 (patch)
tree99499305c1fefe069ec949118c8024270e8067b8 /src/input/inputactionmap.h
parenta7f88de7bbea019bf443da0aa31b03d2273739df (diff)
downloadmanaverse-54cdcc6cded841b2c5823a74f58e4f3b06f81622.tar.gz
manaverse-54cdcc6cded841b2c5823a74f58e4f3b06f81622.tar.bz2
manaverse-54cdcc6cded841b2c5823a74f58e4f3b06f81622.tar.xz
manaverse-54cdcc6cded841b2c5823a74f58e4f3b06f81622.zip
Add chat command /shownpc.
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 d93ccf960..ecc9a40ad 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5461,6 +5461,12 @@ static const InputActionData inputActionData
"npchide|hidenpc",
UseArgs_true,
Protected_true},
+ {"keyCommandNpcShow",
+ defaultAction(&Actions::commandNpcShow),
+ InputCondition::INGAME,
+ "npcshow|shownpc",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction