diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-12-10 02:50:15 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-12-10 02:50:15 +0000 |
commit | 2820f4d4329f29fc75c85d6b2195fd42b97fd457 (patch) | |
tree | 2e48985cf1fddad7b37afcc3eefaeb75ed1d1ee3 /src/game.cpp | |
parent | e961be5bfd29ad3f44f948828981cb3ab07f25a7 (diff) | |
download | Mana-2820f4d4329f29fc75c85d6b2195fd42b97fd457.tar.gz Mana-2820f4d4329f29fc75c85d6b2195fd42b97fd457.tar.bz2 Mana-2820f4d4329f29fc75c85d6b2195fd42b97fd457.tar.xz Mana-2820f4d4329f29fc75c85d6b2195fd42b97fd457.zip |
Added an option to show log messages in the chat console.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 2794b2e6..9a669661 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -212,6 +212,11 @@ void createGuiWindows(Network *network) miniStatusWindow->setVisible(true); menuWindow->setVisible(true); itemShortcutWindow->setVisible(true); + + if (config.getValue("logToChat", 0)) + { + logger->setChatWindow(chatWindow); + } } /** |