summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-01-08 11:31:49 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-01-08 11:31:49 +0100
commit2f28a665e61359dab6aec92546161d22766d838c (patch)
treefb58fb4d6db7ed8a9a33d692473784f94ea71122 /src/game.cpp
parentd9a77ca6c6c74e0333079208da0d04117f70e48c (diff)
downloadmana-2f28a665e61359dab6aec92546161d22766d838c.tar.gz
mana-2f28a665e61359dab6aec92546161d22766d838c.tar.bz2
mana-2f28a665e61359dab6aec92546161d22766d838c.tar.xz
mana-2f28a665e61359dab6aec92546161d22766d838c.zip
Fixed segvault when exiting with logToChat enabled
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index efa0e859..a788c51a 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -228,6 +228,7 @@ void createGuiWindows(Network *network)
*/
void destroyGuiWindows()
{
+ logger->setChatWindow(NULL);
delete chatWindow;
delete statusWindow;
delete miniStatusWindow;