diff options
Diffstat (limited to 'src/game.cpp')
-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; |