diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 15:33:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 15:34:01 +0300 |
commit | 8de44a41862b3a0ff714e68169b6443a2a06b3aa (patch) | |
tree | 758d165a415b45dc15737948d7e74aae38da4a58 /src/input | |
parent | 890fd4c9ceab089de688b00acf5163d795ccec4a (diff) | |
download | mv-8de44a41862b3a0ff714e68169b6443a2a06b3aa.tar.gz mv-8de44a41862b3a0ff714e68169b6443a2a06b3aa.tar.bz2 mv-8de44a41862b3a0ff714e68169b6443a2a06b3aa.tar.xz mv-8de44a41862b3a0ff714e68169b6443a2a06b3aa.zip |
Add chat command for select general tab.
New chat command: /generaltab
Aloases: /general
/generalchattab
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/inputaction.h | 1 | ||||
-rw-r--r-- | src/input/inputactionmap.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/inputaction.h b/src/input/inputaction.h index f94af67c8..9a93863e7 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -526,6 +526,7 @@ namespace InputAction PET_DIRECT_RIGHT, PET_AI_START, PET_AI_STOP, + CHAT_GENERAL_TAB, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 103bede52..bb0a27e61 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3924,6 +3924,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "petaistop|stoppetai|disablepetai|petaidisable", false}, + {"keyGeneralTab", + defaultAction(&Actions::chatGeneralTab), + InputCondition::INGAME, + "generaltab|generalchattab|general", + false}, }; #undef defaultAction |