diff options
author | Andrei Karas <akaras@inbox.ru> | 2010-02-27 00:48:39 +0200 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-26 16:27:15 -0700 |
commit | 5580ebe8946534e71caf63f423824abbf43aa282 (patch) | |
tree | 8e0f20b06d654bc6685e926e2af4670bb157cf7c | |
parent | d564943867452ad76e6d313a28870e640715dded (diff) | |
download | mana-5580ebe8946534e71caf63f423824abbf43aa282.tar.gz mana-5580ebe8946534e71caf63f423824abbf43aa282.tar.bz2 mana-5580ebe8946534e71caf63f423824abbf43aa282.tar.xz mana-5580ebe8946534e71caf63f423824abbf43aa282.zip |
Fix calling setMap on deleted viewport
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index b3670641..c474d41b 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -275,10 +275,10 @@ Game::~Game() delete commandHandler; delete joystick; delete particleEngine; - delete viewport; viewport->setMap(NULL); + delete viewport; delete mCurrentMap; map_path = ""; |