summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-01-08 11:31:49 +0100
committerIra Rice <irarice@gmail.com>2009-01-08 08:26:34 -0700
commit6c20e3e7dc031955d30d0edd313254976c36f0d4 (patch)
tree0f9f71ce8be1999f0c8b797de1af5ee0dc67bdfc /src/game.cpp
parent6f954aa5ed76baabf45248a91fa378552be425c0 (diff)
downloadmana-6c20e3e7dc031955d30d0edd313254976c36f0d4.tar.gz
mana-6c20e3e7dc031955d30d0edd313254976c36f0d4.tar.bz2
mana-6c20e3e7dc031955d30d0edd313254976c36f0d4.tar.xz
mana-6c20e3e7dc031955d30d0edd313254976c36f0d4.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 2c7dd9e3..76eb6b82 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -246,6 +246,7 @@ void createGuiWindows(Network *network)
*/
void destroyGuiWindows()
{
+ logger->setChatWindow(NULL);
delete chatWindow;
delete statusWindow;
delete miniStatusWindow;