From 26b6a14eac441e6069701b37255e1eafa532d7f6 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sat, 27 Feb 2010 16:37:03 +0100 Subject: No point in calling Viewport::setMap(0) before deleting it Reviewed-by: Jared Adams --- src/game.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index c474d41b..5b0295da 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -275,9 +275,6 @@ Game::~Game() delete commandHandler; delete joystick; delete particleEngine; - - viewport->setMap(NULL); - delete viewport; delete mCurrentMap; map_path = ""; -- cgit v1.2.3-70-g09d2