summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-20 00:24:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-20 00:24:57 +0300
commit226331a5e5399ef447bf4eb161d79dfc69a01c5c (patch)
tree4c81bdc026488480ddd6604248447975276d3ac1 /src/input/inputactionmap.h
parente7b0eec60bdd4b2a6cd33077c069e90a1aab7ad3 (diff)
downloadmanaverse-226331a5e5399ef447bf4eb161d79dfc69a01c5c.tar.gz
manaverse-226331a5e5399ef447bf4eb161d79dfc69a01c5c.tar.bz2
manaverse-226331a5e5399ef447bf4eb161d79dfc69a01c5c.tar.xz
manaverse-226331a5e5399ef447bf4eb161d79dfc69a01c5c.zip
Add chat command /adoptchild.
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 16869cbd0..426eb3ae7 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5497,6 +5497,12 @@ static const InputActionData inputActionData
"mailto",
UseArgs_true,
Protected_false},
+ {"keyAdoptChild",
+ defaultAction(&Actions::adoptChild),
+ InputCondition::INGAME,
+ "adoptchild|childadopt|askforchild",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction