diff options
author | Strangerke | 2012-02-02 00:31:25 +0100 |
---|---|---|
committer | Strangerke | 2012-02-02 00:31:25 +0100 |
commit | c222afc933aaf9f04d15c4bcc4dd4f6c38bae17a (patch) | |
tree | df8bdda227b5e8a5c98ff185ea746c2b12ddacb8 | |
parent | 4aa494c19b987974d571bfda90b7a20de1cd0e26 (diff) | |
download | scummvm-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.cpp | 6 |
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(); } |