diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-18 20:39:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-18 20:39:30 +0300 |
commit | 261edddd92ec02c1d278213e730aa30a1fea71d0 (patch) | |
tree | 7ab51a50a43735d476ac276a00a592799adff6b6 /src/gui/chatwindow.cpp | |
parent | 110815cb875c0ceb76c1c37263f4b5fe09a927b6 (diff) | |
download | plus-261edddd92ec02c1d278213e730aa30a1fea71d0.tar.gz plus-261edddd92ec02c1d278213e730aa30a1fea71d0.tar.bz2 plus-261edddd92ec02c1d278213e730aa30a1fea71d0.tar.xz plus-261edddd92ec02c1d278213e730aa30a1fea71d0.zip |
Remove static list with chat commands for autocomplete.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r-- | src/gui/chatwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp index 0e043ea71..5d0c76b91 100644 --- a/src/gui/chatwindow.cpp +++ b/src/gui/chatwindow.cpp @@ -24,6 +24,7 @@ #include "actorspritemanager.h" #include "client.h" +#include "commandhandler.h" #include "commands.h" #include "configuration.h" #include "game.h" @@ -322,6 +323,7 @@ void ChatWindow::loadCommandsFile(const std::string &name) void ChatWindow::fillCommands() { loadCommandsFile("chatcommands.txt"); + CommandHandler::addChatCommands(mCommands); } void ChatWindow::loadGMCommands() |