diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-23 18:00:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-23 18:00:53 +0300 |
commit | 663b79fd68f9e7f578415f3d0f015a3d8ba998cb (patch) | |
tree | fc1064bf86303f12a2d8cfeb91004364a480b0de /src/commands.cpp | |
parent | 16faca9102b7f6771fb0745d5b4bc694f966fca4 (diff) | |
download | manaverse-663b79fd68f9e7f578415f3d0f015a3d8ba998cb.tar.gz manaverse-663b79fd68f9e7f578415f3d0f015a3d8ba998cb.tar.bz2 manaverse-663b79fd68f9e7f578415f3d0f015a3d8ba998cb.tar.xz manaverse-663b79fd68f9e7f578415f3d0f015a3d8ba998cb.zip |
Move chat command /help into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index abbfeb91e..f13950d59 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -258,39 +258,6 @@ impHandler(announce) return true; } -impHandler(help) -{ - if (!helpWindow) - return false; - - if (!event.tab) - { - helpWindow->loadHelp("chatcommands"); - helpWindow->requestMoveToTop(); - return true; - } - switch (event.tab->getType()) - { - case ChatTabType::PARTY: - { - helpWindow->loadHelp("chatparty"); - break; - } - case ChatTabType::GUILD: - { - helpWindow->loadHelp("chatguild"); - break; - } - default: - { - helpWindow->loadHelp("chatcommands"); - break; - } - } - helpWindow->requestMoveToTop(); - return true; -} - impHandler0(ipcToggle) { if (ipc) |