diff options
author | Filippos Karapetis | 2011-11-03 22:40:28 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-11-03 22:40:28 +0200 |
commit | 747bc75bc724f6055c4140403eb60613777e245e (patch) | |
tree | 88d7099f8a5bcc9836144f5c98a3e78320443d3b /engines/sci/graphics | |
parent | 056c3992eb4715c7efa6ac2fb857e21d79d7a450 (diff) | |
download | scummvm-rg350-747bc75bc724f6055c4140403eb60613777e245e.tar.gz scummvm-rg350-747bc75bc724f6055c4140403eb60613777e245e.tar.bz2 scummvm-rg350-747bc75bc724f6055c4140403eb60613777e245e.zip |
SCI: Fixed typo in colorIsFromMacClut()
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/palette.cpp | 2 |
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 |