summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 23:39:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 23:39:49 +0300
commit8314a1808ff96ec8990c4d9055cad41c05f07dc2 (patch)
treed541d529516c9624e921d9ad6b5ec418cd69c33f /src/input
parent9f39b5c84d0b244e093380e5ad7d53c2a21d2f34 (diff)
downloadplus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.gz
plus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.bz2
plus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.xz
plus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.zip
Move chat command /setdrop 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 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}
};