diff options
| author | Max Horn | 2002-12-27 14:04:25 +0000 |
|---|---|---|
| committer | Max Horn | 2002-12-27 14:04:25 +0000 |
| commit | 81c421ec0cd4324aefa181c4b2719f2bd775a0e1 (patch) | |
| tree | 60e4f76f2a2e0543438f0b95624fd35ac33ab65e /scumm/gfx.cpp | |
| parent | b487206a220acbae00e88186418b5f2a5bec1b47 (diff) | |
| download | scummvm-rg350-81c421ec0cd4324aefa181c4b2719f2bd775a0e1.tar.gz scummvm-rg350-81c421ec0cd4324aefa181c4b2719f2bd775a0e1.tar.bz2 scummvm-rg350-81c421ec0cd4324aefa181c4b2719f2bd775a0e1.zip | |
cleanup
svn-id: r6197
Diffstat (limited to 'scumm/gfx.cpp')
| -rw-r--r-- | scumm/gfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 68033ebb62..908cd3ea65 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -2680,9 +2680,9 @@ void Scumm::setupShadowPalette(int slot, int redScale, int greenScale, int blueS curpal = _currentPalette + startColor * 3; for (i = startColor; i <= endColor; i++) { *table++ = remapPaletteColor((curpal[0] * redScale) >> 8, - curpal[1] * greenScale >> 8, - curpal[2] * blueScale >> 8, - (uint) - 1); + (curpal[1] * greenScale) >> 8, + (curpal[2] * blueScale) >> 8, + (uint) - 1); curpal += 3; } } |
