summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-25 13:10:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-25 13:10:52 +0300
commitb063ffa91bbeb324568ae84cde9a90fbb28797f7 (patch)
tree26d6be637bde193829ce4e6ccb7d17e4c0ab6d1a /src/input
parente62706843143949918653a03cc0cbf6620687a60 (diff)
downloadmv-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.gz
mv-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.bz2
mv-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.xz
mv-b063ffa91bbeb324568ae84cde9a90fbb28797f7.zip
Move chat command /createguild 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 26d62365d..091b72ae4 100644
--- a/src/input/inputaction.h
+++ b/src/input/inputaction.h
@@ -361,6 +361,7 @@ namespace InputAction
CLEAN_GRAPHICS,
CLEAN_FONTS,
CREATE_PARTY,
+ CREATE_GUILD,
TOTAL
};
} // namespace InputAction
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h
index 019b6e7e7..a7f1ae0a1 100644
--- a/src/input/inputactionmap.h
+++ b/src/input/inputactionmap.h
@@ -3018,6 +3018,15 @@ static const InputActionData inputActionData[InputAction::TOTAL] = {
InputAction::NO_VALUE, 50,
InputCondition::INGAME,
"createparty",
+ true},
+ {"keyCreateGuild",
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ InputType::UNKNOWN, InputAction::NO_VALUE,
+ Input::GRP_DEFAULT,
+ &Actions::createGuild,
+ InputAction::NO_VALUE, 50,
+ InputCondition::INGAME,
+ "createguild",
true}
};