diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-21 15:34:26 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-21 15:34:26 +0000 |
commit | 40e1b46019afe72bb05614162b3b907db999cc57 (patch) | |
tree | a943aa93824e7aec960e0e5fcd10060bb31c5dbe /src | |
parent | 137237efd9af589649c50a09ab6ce1cbb8c47c72 (diff) | |
download | mana-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.cpp | 2 |
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; |