aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2011-11-03 22:40:28 +0200
committerFilippos Karapetis2011-11-03 22:40:28 +0200
commit747bc75bc724f6055c4140403eb60613777e245e (patch)
tree88d7099f8a5bcc9836144f5c98a3e78320443d3b /engines/sci
parent056c3992eb4715c7efa6ac2fb857e21d79d7a450 (diff)
downloadscummvm-rg350-747bc75bc724f6055c4140403eb60613777e245e.tar.gz
scummvm-rg350-747bc75bc724f6055c4140403eb60613777e245e.tar.bz2
scummvm-rg350-747bc75bc724f6055c4140403eb60613777e245e.zip
SCI: Fixed typo in colorIsFromMacClut()
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/palette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp
index b52af38675..a7a5dc94d1 100644
--- a/engines/sci/graphics/palette.cpp
+++ b/engines/sci/graphics/palette.cpp
@@ -966,7 +966,7 @@ void GfxPalette::loadMacIconBarPalette() {
}
bool GfxPalette::colorIsFromMacClut(byte index) {
- return index != 0 && _macClut && (_macClut[index * 3] != 0 || _macClut[index * 3 + 1] != 0 || _macClut[index * 3 + 1] != 0);
+ return index != 0 && _macClut && (_macClut[index * 3] != 0 || _macClut[index * 3 + 1] != 0 || _macClut[index * 3 + 2] != 0);
}
#ifdef ENABLE_SCI32