From 631d2de74539508add200b98a6066d9acdc81680 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 10 Feb 2011 15:12:06 +0000 Subject: SCI: Fix Mac SCI1 view transparency This was a regression from r55825. svn-id: r55868 --- engines/sci/graphics/view.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3