diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 23:39:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 23:39:49 +0300 |
commit | 8314a1808ff96ec8990c4d9055cad41c05f07dc2 (patch) | |
tree | d541d529516c9624e921d9ad6b5ec418cd69c33f /src/input | |
parent | 9f39b5c84d0b244e093380e5ad7d53c2a21d2f34 (diff) | |
download | mv-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.gz mv-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.bz2 mv-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.xz mv-8314a1808ff96ec8990c4d9055cad41c05f07dc2.zip |
Move chat command /setdrop 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 cb79d84a2..d81a66352 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -396,6 +396,7 @@ namespace InputAction DUMP, SERVER_IGNORE_ALL, SERVER_UNIGNORE_ALL, + SET_DROP, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index b0976916c..8f7ec4b73 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3333,6 +3333,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "serverunignoreall", + false}, + {"keySetDrop", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::setDrop, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "setdrop", false} }; |