diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 19:44:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 19:44:33 +0300 |
commit | d6f58bee33ca548ea6fc125553aa8d4d2fdba91f (patch) | |
tree | f56a9c37da0ef39c470a3da6315a073c87b1c984 /src/input/inputactionmap.h | |
parent | 663b79fd68f9e7f578415f3d0f015a3d8ba998cb (diff) | |
download | mv-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.gz mv-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.bz2 mv-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.tar.xz mv-d6f58bee33ca548ea6fc125553aa8d4d2fdba91f.zip |
Move chat command /announce into actions.
Diffstat (limited to 'src/input/inputactionmap.h')
-rw-r--r-- | src/input/inputactionmap.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 47138a746..37810b5d7 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -27,6 +27,7 @@ #include "actions/actions.h" #include "actions/chat.h" +#include "actions/commands.h" #include "actions/move.h" #include "actions/statusbar.h" #include "actions/tabs.h" @@ -2855,7 +2856,16 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputAction::NO_VALUE, 50, InputCondition::INGAME, "ignoreallwhispers", - false} + false}, + {"keyChatAnnounce", + InputType::UNKNOWN, InputAction::NO_VALUE, + InputType::UNKNOWN, InputAction::NO_VALUE, + Input::GRP_DEFAULT | Input::GRP_GUI, + &Actions::chatAnnounce, + InputAction::NO_VALUE, 50, + InputCondition::INGAME, + "announce", + true} }; #endif // INPUT_INPUTACTIONMAP_H |