diff options
author | Martin Kiewitz | 2010-01-25 12:34:40 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-25 12:34:40 +0000 |
commit | 5fa07183567ec91f0e3e220f296f23822b698c4a (patch) | |
tree | ddd98098400544b8c7ba5294fc714daf47b2fc79 /engines/sci/graphics/view.cpp | |
parent | e7e0810c9c93c14cbf861cf2c3e531126cb411df (diff) | |
download | scummvm-rg350-5fa07183567ec91f0e3e220f296f23822b698c4a.tar.gz scummvm-rg350-5fa07183567ec91f0e3e220f296f23822b698c4a.tar.bz2 scummvm-rg350-5fa07183567ec91f0e3e220f296f23822b698c4a.zip |
SCI: created isAmiga32color(), using this method instead of comparing against viewType
svn-id: r47554
Diffstat (limited to 'engines/sci/graphics/view.cpp')
-rw-r--r-- | engines/sci/graphics/view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/view.cpp b/engines/sci/graphics/view.cpp index aab44df0d3..df355bae3c 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -307,7 +307,7 @@ void View::unpackCel(int16 loopNo, int16 celNo, byte *outPtr, uint16 pixelCount) rlePtr = _resourceData + celInfo->offsetRLE; if (!celInfo->offsetLiteral) { // no additional literal data - if (_resMan->getViewType() == kViewAmiga) { + if (_resMan->isAmiga32color()) { // decompression for amiga views while (pixelNo < pixelCount) { pixel = *rlePtr++; |