diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 15:52:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 15:52:55 +0300 |
commit | db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47 (patch) | |
tree | 566c42d323608207764f076ddb4296d55a7cdbd3 /src/actions/chat.cpp | |
parent | 1db8072c112d0bc5b3cbf3b3151dfa8be9419189 (diff) | |
download | manaverse-db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47.tar.gz manaverse-db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47.tar.bz2 manaverse-db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47.tar.xz manaverse-db5ac7e5ac2642a2df29dcd6de3d6fba5a964b47.zip |
Add chat command for select battle tab.
New chat command: /battletab
Alias: /battlechattab
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r-- | src/actions/chat.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 0e719fb75..ce54b72db 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -478,4 +478,11 @@ impHandler0(chatDebugTab) return true; } +impHandler0(chatBattleTab) +{ + if (chatWindow) + chatWindow->selectTabByType(ChatTabType::BATTLE); + return true; +} + } // namespace Actions |