summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 13:16:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 13:16:08 +0300
commit4bb530a447cc08fbe176cface478898e0b35f5d1 (patch)
treead7bdb01082b133108cccb9e24080c00a2983591 /src/input
parentb063ffa91bbeb324568ae84cde9a90fbb28797f7 (diff)
downloadmanaverse-4bb530a447cc08fbe176cface478898e0b35f5d1.tar.gz
manaverse-4bb530a447cc08fbe176cface478898e0b35f5d1.tar.bz2
manaverse-4bb530a447cc08fbe176cface478898e0b35f5d1.tar.xz
manaverse-4bb530a447cc08fbe176cface478898e0b35f5d1.zip
Move chat command /party 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 091b72ae4..47414e0db 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -362,6 +362,7 @@ namespace InputAction
CLEAN_FONTS,
CREATE_PARTY,
CREATE_GUILD,
+ PARTY,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index a7f1ae0a1..d01e870fb 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3027,6 +3027,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"createguild",
+ true},
+ {"keyParty",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::party,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "party",
true}
};