diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:49:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-27 16:49:12 +0300 |
commit | 8f173afdd496eda7fddd2b166e11626651600501 (patch) | |
tree | 422b3dde21b2f040f953cf26f8433e74aec2e2e0 /src/input | |
parent | 56178bf525b07582389493158ac90e2ab7721571 (diff) | |
download | plus-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.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 |
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} }; |