From a30bb2e92405fb379db298f2996e1c0ecd3f4bbd Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Mon, 23 Jul 2007 09:48:14 +0000 Subject: Fixed segfault on exit when OpenGL configuration changed. --- src/game.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game.cpp') 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; -- cgit v1.2.3-70-g09d2