From bb45b6a8ca4ea751bceb5853060251a3eefcd4fc Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 10 Mar 2009 16:36:34 -0600 Subject: Delete local player earlier and fix a rare crash Rare crash is in KeyboardConfig, where the active keys array is accessed before it's initialized. Also remove some debug prints that made it into a previous commit. --- src/game.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 3b621acd..13be3663 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -345,6 +345,7 @@ Game::~Game() destroyGuiWindows(); delete beingManager; + delete player_node; delete floorItemManager; delete joystick; delete particleEngine; -- cgit v1.2.3-70-g09d2