summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-21 15:34:26 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-21 15:34:26 +0000
commit40e1b46019afe72bb05614162b3b907db999cc57 (patch)
treea943aa93824e7aec960e0e5fcd10060bb31c5dbe /src
parent137237efd9af589649c50a09ab6ce1cbb8c47c72 (diff)
downloadmana-40e1b46019afe72bb05614162b3b907db999cc57.tar.gz
mana-40e1b46019afe72bb05614162b3b907db999cc57.tar.bz2
mana-40e1b46019afe72bb05614162b3b907db999cc57.tar.xz
mana-40e1b46019afe72bb05614162b3b907db999cc57.zip
Messed a bit: beings cannot be removed from no map.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 176d9642..53874f4d 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -287,7 +287,6 @@ Game::~Game()
{
Net::clearHandlers();
- delete engine;
delete player_node;
destroyGuiWindows();
@@ -296,6 +295,7 @@ Game::~Game()
delete channelManager;
delete joystick;
delete particleEngine;
+ delete engine;
viewport->setMap(NULL);
player_node = NULL;