diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 20:15:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 20:15:18 +0300 |
commit | e0b4a2665505279e58f2a618272db5245f275518 (patch) | |
tree | e973687cba28b78f27e9527743e0c57d6f9619f5 /src/input | |
parent | 61de258859b600011284a49d54bca1f31ecb6d3d (diff) | |
download | mv-e0b4a2665505279e58f2a618272db5245f275518.tar.gz mv-e0b4a2665505279e58f2a618272db5245f275518.tar.bz2 mv-e0b4a2665505279e58f2a618272db5245f275518.tar.xz mv-e0b4a2665505279e58f2a618272db5245f275518.zip |
Add chat command /spawn. Also add it to monster context menu.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputactionmap.h | 6 |
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 |