aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-02-02 00:31:25 +0100
committerStrangerke2012-02-02 00:31:25 +0100
commitc222afc933aaf9f04d15c4bcc4dd4f6c38bae17a (patch)
treedf8bdda227b5e8a5c98ff185ea746c2b12ddacb8
parent4aa494c19b987974d571bfda90b7a20de1cd0e26 (diff)
downloadscummvm-rg350-c222afc933aaf9f04d15c4bcc4dd4f6c38bae17a.tar.gz
scummvm-rg350-c222afc933aaf9f04d15c4bcc4dd4f6c38bae17a.tar.bz2
scummvm-rg350-c222afc933aaf9f04d15c4bcc4dd4f6c38bae17a.zip
TSAGE: R2R - Avoid a crash in scene 700
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes0.cpp6
1 files changed, 5 insertions, 1 deletions
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();
}