diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:53:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:53:39 +0300 |
commit | 073ac78da73bb2901b48c311a6f8ee7ccca5d294 (patch) | |
tree | e6cd9a4c7e99c81d581ed5bfff2ae2154b9faf70 /src/input | |
parent | ab2757fe1ec538809b0bf4ec81a1e51c57b9bee3 (diff) | |
download | ManaVerse-073ac78da73bb2901b48c311a6f8ee7ccca5d294.tar.gz ManaVerse-073ac78da73bb2901b48c311a6f8ee7ccca5d294.tar.bz2 ManaVerse-073ac78da73bb2901b48c311a6f8ee7ccca5d294.tar.xz ManaVerse-073ac78da73bb2901b48c311a6f8ee7ccca5d294.zip |
Add chat command for select gm tab.
New chat command: /gmtab
Alias: /gmchattab
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 e587bf648..f0d444fae 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -531,6 +531,7 @@ namespace InputAction CHAT_BATTLE_TAB, CHAT_TRADE_TAB, CHAT_LANG_TAB, + CHAT_GM_TAB, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index d4e04b9eb..31be925a6 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3949,6 +3949,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "langtab|langchattab", false}, + {"keyGmTab", + defaultAction(&Actions::chatGmTab), + InputCondition::INGAME, + "gmtab|gmchattab", + false}, }; #undef defaultAction |