diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:56:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 16:56:51 +0300 |
commit | 36345952f734b410e745ccfe093b9c12cc65c4fe (patch) | |
tree | b358099eb689799b365d6e84c8b58d32a5f347e7 /src/input | |
parent | 073ac78da73bb2901b48c311a6f8ee7ccca5d294 (diff) | |
download | mv-36345952f734b410e745ccfe093b9c12cc65c4fe.tar.gz mv-36345952f734b410e745ccfe093b9c12cc65c4fe.tar.bz2 mv-36345952f734b410e745ccfe093b9c12cc65c4fe.tar.xz mv-36345952f734b410e745ccfe093b9c12cc65c4fe.zip |
Add chat command for select party tab.
New chat command: /partytab
Aliast: /partychattab
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 f0d444fae..b027ff0e2 100644 --- a/src/input/inputaction.h +++ b/src/input/inputaction.h @@ -532,6 +532,7 @@ namespace InputAction CHAT_TRADE_TAB, CHAT_LANG_TAB, CHAT_GM_TAB, + CHAT_PARTY_TAB, TOTAL }; } // namespace InputAction diff --git a/src/input/inputactionmap.h b/src/input/inputactionmap.h index 31be925a6..a46fb72e4 100644 --- a/src/input/inputactionmap.h +++ b/src/input/inputactionmap.h @@ -3954,6 +3954,11 @@ static const InputActionData inputActionData[InputAction::TOTAL] = { InputCondition::INGAME, "gmtab|gmchattab", false}, + {"keyPartyTab", + defaultAction(&Actions::chatPartyTab), + InputCondition::INGAME, + "partytab|partychattab", + false}, }; #undef defaultAction |