aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-07-26 14:11:27 +0000
committerTravis Howell2004-07-26 14:11:27 +0000
commitc460aae163fce421c0d3427e7b31e5a88e1e5686 (patch)
tree23fe86e67de5c2aa89fc828944372905d0ad8bd5
parentf8e0fb18ba5101dad5792506bc198f518623e8f4 (diff)
downloadscummvm-rg350-c460aae163fce421c0d3427e7b31e5a88e1e5686.tar.gz
scummvm-rg350-c460aae163fce421c0d3427e7b31e5a88e1e5686.tar.bz2
scummvm-rg350-c460aae163fce421c0d3427e7b31e5a88e1e5686.zip
Ooops, adjust for start value.
svn-id: r14338
-rw-r--r--scumm/palette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp
index 8db158dcdf..f54a0a2186 100644
--- a/scumm/palette.cpp
+++ b/scumm/palette.cpp
@@ -456,7 +456,7 @@ void ScummEngine::setupShadowPalette(int redScale, int greenScale, int blueScale
const byte *basepal = getPalettePtr(_curPalIndex);
const byte *compareptr;
const byte *pal = basepal + start * 3;
- byte *table = _shadowPalette + start * 3;
+ byte *table = _shadowPalette + start;
int i;
// This is a correction of the patch supplied for BUG #588501.