diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-08-15 20:56:08 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-08-15 22:44:13 -0400 |
commit | 560877d89847b25b201580e083119f0b23ff75c1 (patch) | |
tree | cb50dd12b0b884f7c7dea74102d321d63bb1d37f /src/game.cpp | |
parent | 8f573b6c425dc82be42ad80eae565b0641a90a3b (diff) | |
download | mana-560877d89847b25b201580e083119f0b23ff75c1.tar.gz mana-560877d89847b25b201580e083119f0b23ff75c1.tar.bz2 mana-560877d89847b25b201580e083119f0b23ff75c1.tar.xz mana-560877d89847b25b201580e083119f0b23ff75c1.zip |
Remove the logToChat option
This is a very old legacy option. Today its not very
useful because the logger had become quite verbose that
using it during run-time is not helpful.
Reviewed-By: Jared Adams
Reviewed-By: Freeyorp
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/game.cpp b/src/game.cpp index 18bad69c..8d6440b7 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -172,11 +172,6 @@ static void createGuiWindows() localChatTab = new ChatTab(_("General")); - if (config.getValue("logToChat", 0)) - { - logger->setChatWindow(chatWindow); - } - NpcDialog::setup(); Mana::Event::trigger("Game", "GuiWindowsLoaded"); @@ -191,7 +186,6 @@ static void destroyGuiWindows() { Mana::Event::trigger("Game", "GuiWindowsUnloading"); - logger->setChatWindow(NULL); del_0(localChatTab) // Need to do this first, so it can remove itself del_0(chatWindow) del_0(statusWindow) |