diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:04:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-25 13:04:02 +0300 |
commit | e62706843143949918653a03cc0cbf6620687a60 (patch) | |
tree | 648b609d88e7e642d6ecd0007780aaee03ee92db /src/input | |
parent | 4c0d3dc62399e35c288cb82dfbf3f8811328f06c (diff) | |
download | plus-e62706843143949918653a03cc0cbf6620687a60.tar.gz plus-e62706843143949918653a03cc0cbf6620687a60.tar.bz2 plus-e62706843143949918653a03cc0cbf6620687a60.tar.xz plus-e62706843143949918653a03cc0cbf6620687a60.zip |
Move chat command /createparty into actions.
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index 68c0483d1..26d62365d 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -360,6 +360,7 @@ namespace InputAction ERASE, CLEAN_GRAPHICS, CLEAN_FONTS, + CREATE_PARTY, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index f8d8c944f..019b6e7e7 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3009,7 +3009,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "cleanfonts", - false} + false}, + {"keyCreateParty", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT, + &Actions::createParty, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "createparty", + true} }; #endif // INPUT_INPUTACTIONMAP_H |