summaryrefslogtreecommitdiff
path: root/src/input
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
parent61de258859b600011284a49d54bca1f31ecb6d3d (diff)
downloadmanaverse-e0b4a2665505279e58f2a618272db5245f275518.tar.gz
manaverse-e0b4a2665505279e58f2a618272db5245f275518.tar.bz2
manaverse-e0b4a2665505279e58f2a618272db5245f275518.tar.xz
manaverse-e0b4a2665505279e58f2a618272db5245f275518.zip
Add chat command /spawn. Also add it to monster context menu.
Diffstat (limited to 'src/input')
-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