summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-27 16:37:03 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-27 17:08:30 +0100
commit26b6a14eac441e6069701b37255e1eafa532d7f6 (patch)
tree4f985c3ba2d90613fd066f13140c01da7a998fd6 /src/game.cpp
parent12f9c5639d74747d5e22ec29c1df8d09256b8772 (diff)
downloadmana-26b6a14eac441e6069701b37255e1eafa532d7f6.tar.gz
mana-26b6a14eac441e6069701b37255e1eafa532d7f6.tar.bz2
mana-26b6a14eac441e6069701b37255e1eafa532d7f6.tar.xz
mana-26b6a14eac441e6069701b37255e1eafa532d7f6.zip
No point in calling Viewport::setMap(0) before deleting it
Reviewed-by: Jared Adams
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 0 insertions, 3 deletions
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 = "";