summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 20:15:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 20:15:18 +0300
commite0b4a2665505279e58f2a618272db5245f275518 (patch)
treee973687cba28b78f27e9527743e0c57d6f9619f5 /src/input/inputactionmap.h
parent61de258859b600011284a49d54bca1f31ecb6d3d (diff)
downloadplus-e0b4a2665505279e58f2a618272db5245f275518.tar.gz
plus-e0b4a2665505279e58f2a618272db5245f275518.tar.bz2
plus-e0b4a2665505279e58f2a618272db5245f275518.tar.xz
plus-e0b4a2665505279e58f2a618272db5245f275518.zip
Add chat command /spawn. Also add it to monster 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 e1541690e..a4f648205 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5329,6 +5329,12 @@ static const InputActionData inputActionData
"showaccountinfo|showaccinfo|accinfo",
UseArgs_true,
Protected_true},
+ {"keyCommandSpawn",
+ defaultAction(&Actions::commandSpawn),
+ InputCondition::INGAME,
+ "spawn|monster",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction