From c222afc933aaf9f04d15c4bcc4dd4f6c38bae17a Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 2 Feb 2012 00:31:25 +0100 Subject: TSAGE: R2R - Avoid a crash in scene 700 --- engines/tsage/ringworld2/ringworld2_scenes0.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp index a4c2fe5256..39bc41e408 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp @@ -5614,7 +5614,11 @@ void Scene700::postInit(SceneObjectList *OwnerList) { void Scene700::remove() { R2_GLOBALS._sound1.play(10); - _rotation->remove(); +// CHECKME: Present in the original... But it crashes badly. +// The instruction was removed as it's not used in other scene coded the same way +// and reversed by dreammaster. A double check is required in order to verify it doesn't hide +// a memory leak +// _rotation->remove(); SceneExt::remove(); } -- cgit v1.2.3