summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-23 09:48:14 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-23 09:48:14 +0000
commita30bb2e92405fb379db298f2996e1c0ecd3f4bbd (patch)
tree40f873fe391c9a2ff7001d7d0ecd0241e0e0cdf1 /src/game.cpp
parentcd95ffd1dccb44ee05968a57cae1787a63d700d2 (diff)
downloadmana-client-a30bb2e92405fb379db298f2996e1c0ecd3f4bbd.tar.gz
mana-client-a30bb2e92405fb379db298f2996e1c0ecd3f4bbd.tar.bz2
mana-client-a30bb2e92405fb379db298f2996e1c0ecd3f4bbd.tar.xz
mana-client-a30bb2e92405fb379db298f2996e1c0ecd3f4bbd.zip
Fixed segfault on exit when OpenGL configuration changed.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 1afc530b..7385549b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -294,6 +294,8 @@ Game::~Game()
delete joystick;
delete particleEngine;
+ viewport->setMap(NULL);
+ player_node = NULL;
beingManager = NULL;
floorItemManager = NULL;
joystick = NULL;