summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:49:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:49:12 +0300
commit8f173afdd496eda7fddd2b166e11626651600501 (patch)
tree422b3dde21b2f040f953cf26f8433e74aec2e2e0 /src/input
parent56178bf525b07582389493158ac90e2ab7721571 (diff)
downloadplus-8f173afdd496eda7fddd2b166e11626651600501.tar.gz
plus-8f173afdd496eda7fddd2b166e11626651600501.tar.bz2
plus-8f173afdd496eda7fddd2b166e11626651600501.tar.xz
plus-8f173afdd496eda7fddd2b166e11626651600501.zip
Move chat command /debugspawn into actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index eb1e5e491..8001a33da 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -423,6 +423,7 @@ namespace InputAction
UPLOAD_LOG,
GM,
HACK,
+ DEBUG_SPAWN,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index b9455ff2b..81afc5348 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3584,6 +3584,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"hack",
+ true},
+ {"keyDebugSpawn",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::debugSpawn,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "debugspawn",
true}
};