summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:41:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:41:00 +0300
commit56178bf525b07582389493158ac90e2ab7721571 (patch)
tree42a1696e108453eaad3e80ca68151c7f8b10e8fd /src/input/inputactionmap.h
parent7891954d9767df4fc4ecf1c44830ca9c18a34e10 (diff)
downloadplus-56178bf525b07582389493158ac90e2ab7721571.tar.gz
plus-56178bf525b07582389493158ac90e2ab7721571.tar.bz2
plus-56178bf525b07582389493158ac90e2ab7721571.tar.xz
plus-56178bf525b07582389493158ac90e2ab7721571.zip
Move chat command /hack into actions.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r--src/input/inputactionmap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 27d47a707..b9455ff2b 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3575,6 +3575,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"gm",
+ true},
+ {"keyHack",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::hack,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "hack",
true}
};