summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 20:42:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 20:42:50 +0300
commit3fe3a77e1ae0db748a8a0b8d500db24a6a964b44 (patch)
treeaebc36f17eeb2d5ecf675bd3d424f5558422ec60 /src/input
parent64a067458ea169b9ff5b9a78ed1a011da86e8bdf (diff)
downloadmanaverse-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.gz
manaverse-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.bz2
manaverse-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.tar.xz
manaverse-3fe3a77e1ae0db748a8a0b8d500db24a6a964b44.zip
Add chat command /gmheal. 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 6c0975015..299af0268 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -5395,6 +5395,12 @@ static const InputActionData inputActionData
"setkillable|killable",
UseArgs_true,
Protected_true},
+ {"keyCommandHeal",
+ defaultAction(&Actions::commandHeal),
+ InputCondition::INGAME,
+ "gmheal",
+ UseArgs_true,
+ Protected_true},
};
#undef defaultAction