diff options
author | Matthew Hoops | 2011-02-10 15:12:06 +0000 |
---|---|---|
committer | Matthew Hoops | 2011-02-10 15:12:06 +0000 |
commit | 631d2de74539508add200b98a6066d9acdc81680 (patch) | |
tree | 30e1791fa6e9c8013131a9d65fb698971e9fcbb4 /engines/sci/graphics | |
parent | c093925763fa808ad76b7c082c576facd769ba27 (diff) | |
download | scummvm-rg350-631d2de74539508add200b98a6066d9acdc81680.tar.gz scummvm-rg350-631d2de74539508add200b98a6066d9acdc81680.tar.bz2 scummvm-rg350-631d2de74539508add200b98a6066d9acdc81680.zip |
SCI: Fix Mac SCI1 view transparency
This was a regression from r55825.
svn-id: r55868
Diffstat (limited to 'engines/sci/graphics')
-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 0c43fef270..a8fc8e7f15 100644 --- a/engines/sci/graphics/view.cpp +++ b/engines/sci/graphics/view.cpp @@ -401,7 +401,7 @@ void GfxView::unpackCel(int16 loopNo, int16 celNo, byte *outPtr, uint32 pixelCou // code, that they would just put a little snippet of code to swap these colors // in various places around the SCI codebase. We figured that it would be less // hacky to swap pixels instead and run the Mac games with a PC palette. - if (g_sci->getPlatform() == Common::kPlatformMacintosh) { + if (g_sci->getPlatform() == Common::kPlatformMacintosh && getSciVersion() >= SCI_VERSION_1_1) { // clearColor is based on PC palette, but the literal data is not. // We flip clearColor here to make it match the literal data. All // these pixels will be flipped back again below. |