aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authoreriktorbjorn2011-03-06 18:39:26 +0100
committereriktorbjorn2011-03-06 18:39:26 +0100
commit6a8fadeec83822b100c4eaaa511eabb285dd4765 (patch)
tree0638dcd842fa2b20503f33197fb0982382169223 /engines/sci/graphics
parentd2ad7898d93fae702ec634af71c172bb3f1a6de9 (diff)
downloadscummvm-rg350-6a8fadeec83822b100c4eaaa511eabb285dd4765.tar.gz
scummvm-rg350-6a8fadeec83822b100c4eaaa511eabb285dd4765.tar.bz2
scummvm-rg350-6a8fadeec83822b100c4eaaa511eabb285dd4765.zip
SCI: Silence GCC warning
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/picture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/picture.cpp b/engines/sci/graphics/picture.cpp
index dbc3a88b4a..6a3767a0c8 100644
--- a/engines/sci/graphics/picture.cpp
+++ b/engines/sci/graphics/picture.cpp
@@ -713,7 +713,7 @@ void GfxPicture::drawVectorData(byte *data, int dataSize) {
break;
case PIC_OPX_VGA_SET_PALETTE:
if (_resMan->getViewType() == kViewAmiga ||
- _resMan->getViewType() == kViewVga && g_sci->getPlatform() == Common::kPlatformAmiga // Longbow Amiga
+ (_resMan->getViewType() == kViewVga && g_sci->getPlatform() == Common::kPlatformAmiga) // Longbow Amiga
) {
if ((data[curPos] == 0x00) && (data[curPos + 1] == 0x01) && ((data[curPos + 32] & 0xF0) != 0xF0)) {
// Left-Over VGA palette, we simply ignore it