diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:10:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:10:52 +0300 |
commit | b063ffa91bbeb324568ae84cde9a90fbb28797f7 (patch) | |
tree | 26d6be637bde193829ce4e6ccb7d17e4c0ab6d1a /src/input | |
parent | e62706843143949918653a03cc0cbf6620687a60 (diff) | |
download | manaverse-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.gz manaverse-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.bz2 manaverse-b063ffa91bbeb324568ae84cde9a90fbb28797f7.tar.xz manaverse-b063ffa91bbeb324568ae84cde9a90fbb28797f7.zip |
Move chat command /createguild into actions.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 9 |
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} }; |