summaryrefslogtreecommitdiff
path: root/src/input/inputactionmap.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 18:40:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 18:40:02 +0300
commit537b66dbab370463a4a8d0d860a98626f73b4635 (patch)
treeb57561ba706939d73ecce4f3242cdca6ed515b46 /src/input/inputactionmap.h
parent2f345a6bf8385bf0874b976d0da9790faa4ee0ff (diff)
downloadmanaplus-537b66dbab370463a4a8d0d860a98626f73b4635.tar.gz
manaplus-537b66dbab370463a4a8d0d860a98626f73b4635.tar.bz2
manaplus-537b66dbab370463a4a8d0d860a98626f73b4635.tar.xz
manaplus-537b66dbab370463a4a8d0d860a98626f73b4635.zip
Move chat command /disconnect 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 c6fb36f1f..0dde3f848 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3216,6 +3216,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"cacheinfo",
+ false},
+ {"keyDisconnect",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::disconnect,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "disconnect",
false}
};