aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-27 19:23:42 -0400
committerPaul Gilbert2015-06-27 19:23:42 -0400
commit7594507277ba7506b8c7142b8a1463a97036c14d (patch)
tree678a9f0e4df20423559ba5ccb38e019a38b0468d /engines/sherlock/scalpel/scalpel_scene.cpp
parent7ecf553e24ce6d8267e66bb903388ff55805e418 (diff)
downloadscummvm-rg350-7594507277ba7506b8c7142b8a1463a97036c14d.tar.gz
scummvm-rg350-7594507277ba7506b8c7142b8a1463a97036c14d.tar.bz2
scummvm-rg350-7594507277ba7506b8c7142b8a1463a97036c14d.zip
SHERLOCK: RT: Properly implement StreamingImageFile class
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_scene.cpp')
-rw-r--r--engines/sherlock/scalpel/scalpel_scene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_scene.cpp b/engines/sherlock/scalpel/scalpel_scene.cpp
index bbe6674837..fa820d95fd 100644
--- a/engines/sherlock/scalpel/scalpel_scene.cpp
+++ b/engines/sherlock/scalpel/scalpel_scene.cpp
@@ -574,7 +574,7 @@ int ScalpelScene::startCAnim(int cAnimNum, int playRate) {
//rrmStream->seek(rrmStream->readUint32LE());
// Load the canimation into the cache
- Common::SeekableReadStream *imgStream = !_lzwMode ? roomStream->readStream(cAnim._dataSize) :
+ Common::SeekableReadStream *imgStream = !_compressed ? roomStream->readStream(cAnim._dataSize) :
Resources::decompressLZ(*roomStream, cAnim._dataSize);
res.addToCache(fname, *imgStream);