diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:50:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:50:20 +0300 |
commit | ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3 (patch) | |
tree | 1f92d8821ae713773786507d28a6801bc61dc0f5 /src/input | |
parent | ca108c26aa632e54993c11861442800277efa45d (diff) | |
download | manaverse-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.gz manaverse-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.bz2 manaverse-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.tar.xz manaverse-ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3.zip |
Add chat command for select lang tab.
New chat command: /langtab
Alias: /langchattab
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 9d6f5eb83..e587bf648 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -530,6 +530,7 @@ namespace InputAction CHAT_DEBUG_TAB, CHAT_BATTLE_TAB, CHAT_TRADE_TAB, + CHAT_LANG_TAB, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 1af7f387e..d4e04b9eb 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3944,6 +3944,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "tradetab|tradechattab", false}, + {"keyLangTab", + defaultAction(&Actions::chatLangTab), + InputCondition::INGAME, + "langtab|langchattab", + false}, }; #undef defaultAction |