aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/image_file.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2015-07-04 00:41:29 +0300
committerFilippos Karapetis2015-07-04 00:42:25 +0300
commit7a7c2ad61ea461c5c7185e5595cdacb2c9cde021 (patch)
tree7870c6621748ae85f5d853654abac1f672b96961 /engines/sherlock/image_file.cpp
parente02fbcebe7a9a04eee14bd2f04da455b0b312140 (diff)
downloadscummvm-rg350-7a7c2ad61ea461c5c7185e5595cdacb2c9cde021.tar.gz
scummvm-rg350-7a7c2ad61ea461c5c7185e5595cdacb2c9cde021.tar.bz2
scummvm-rg350-7a7c2ad61ea461c5c7185e5595cdacb2c9cde021.zip
SHERLOCK: Use IS_ROSE_TATTOO / IS_SERRATED_SCALPEL in more places
Diffstat (limited to 'engines/sherlock/image_file.cpp')
-rw-r--r--engines/sherlock/image_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/image_file.cpp b/engines/sherlock/image_file.cpp
index b9d87d4f0d..c202ab3dca 100644
--- a/engines/sherlock/image_file.cpp
+++ b/engines/sherlock/image_file.cpp
@@ -96,7 +96,7 @@ void ImageFile::load(Common::SeekableReadStream &stream, bool skipPalette, bool
byte *data = new byte[frame._size + 4];
stream.read(data, frame._size);
Common::fill(data + frame._size, data + frame._size + 4, 0);
- frame.decompressFrame(data, _vm->getGameID() == GType_RoseTattoo);
+ frame.decompressFrame(data, IS_ROSE_TATTOO);
delete[] data;
push_back(frame);