aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scene.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-12 13:25:08 +0200
committerMartin Kiewitz2015-06-12 13:25:08 +0200
commit3cca918ec745418bad4081b38211f82d47e1091e (patch)
treec8d73dbb3b2618db108aea718246c57c299e65f8 /engines/sherlock/scene.cpp
parent6c2c0cdfefa7941b7b27d2567be7dd0d14b02dee (diff)
downloadscummvm-rg350-3cca918ec745418bad4081b38211f82d47e1091e.tar.gz
scummvm-rg350-3cca918ec745418bad4081b38211f82d47e1091e.tar.bz2
scummvm-rg350-3cca918ec745418bad4081b38211f82d47e1091e.zip
SHERLOCK: 3DO: fix multiple frame decoding
when multiple frames were decoded, all but the last one were free()d
Diffstat (limited to 'engines/sherlock/scene.cpp')
-rw-r--r--engines/sherlock/scene.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp
index 385c75174a..609fd17a56 100644
--- a/engines/sherlock/scene.cpp
+++ b/engines/sherlock/scene.cpp
@@ -668,7 +668,6 @@ bool Scene::loadScene(const Common::String &filename) {
// === BGSHAPES === Set up the bgShapes
for (int idx = 0; idx < header3DO_numStructs; ++idx) {
- warning("%d", _bgShapes[idx]._misc);
_bgShapes[idx]._images = _images[_bgShapes[idx]._misc]._images;
_bgShapes[idx]._imageFrame = !_bgShapes[idx]._images ? (ImageFrame *)nullptr :
&(*_bgShapes[idx]._images)[0];