From fb2f6f3c0258930d094105400cec7f20c7e5c323 Mon Sep 17 00:00:00 2001 From: Jan-Peter Nilsson Date: Sun, 27 Feb 2011 13:37:17 +0100 Subject: [PATCH] Delete mPhysicEngine when we are done with it --- apps/openmw/engine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index c5e7f5dcf5..7241573bf6 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -218,6 +218,7 @@ OMW::Engine::~Engine() delete mEnvironment.mDialogueManager; delete mScriptManager; delete mScriptContext; + delete mPhysicEngine; } // Load all BSA files in data directory.