summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 23:21:41 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 23:22:35 +0300
commit81b70110b56fb44b913ad58e1640909c9a7a6d3c (patch)
treef9d7012a01b9c5e7c5e1634fa16f74a1daaf1eca /src/input
parentb0ab41f03839163549de4344c027a69312458e77 (diff)
downloadmanaverse-81b70110b56fb44b913ad58e1640909c9a7a6d3c.tar.gz
manaverse-81b70110b56fb44b913ad58e1640909c9a7a6d3c.tar.bz2
manaverse-81b70110b56fb44b913ad58e1640909c9a7a6d3c.tar.xz
manaverse-81b70110b56fb44b913ad58e1640909c9a7a6d3c.zip
Move chat command /outfit into actions.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputaction.h1
-rw-r--r--src/input/inputactionmap.h11
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h
index 32e40227f..bb150b867 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -370,6 +370,7 @@ namespace InputAction
MOVE,
TARGET,
ATTACK_HUMAN,
+ COMMAMD_OUTFIT,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index a2bdf214c..8c76e65d8 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3099,7 +3099,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"atkhuman",
- false}
+ false},
+ {"keyOutfit",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::commandOutfit,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "outfit",
+ true}
};
#endif // INPUT_INPUTACTIONMAP_H