summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 21:48:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 21:48:57 +0300
commit24dc1791c0b07e10334d61b95271cab7c2abcbf1 (patch)
treeda05e2b67820f525bd882d962475c8a3685a34b7 /src/input
parent026fdd913ea337e0f7775eba957f88fc9ced7690 (diff)
downloadmanaverse-24dc1791c0b07e10334d61b95271cab7c2abcbf1.tar.gz
manaverse-24dc1791c0b07e10334d61b95271cab7c2abcbf1.tar.bz2
manaverse-24dc1791c0b07e10334d61b95271cab7c2abcbf1.tar.xz
manaverse-24dc1791c0b07e10334d61b95271cab7c2abcbf1.zip
Add chat command /spawnevilclone. Also add it to player 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 8e24df1f7..4faadd258 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5353,6 +5353,12 @@ static const InputActionData inputActionData
"spawnslaveclone|playerslaveclone|slaveclone",
UseArgs_true,
Protected_true},
+ {"keyCommandSpawnEvilClone",
+ defaultAction(&Actions::commandSpawnEvilClone),
+ InputCondition::INGAME,
+ "spawnevilclone|playerevilclone|evilclone",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction