aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2005-04-19 20:18:28 +0000
committerGregory Montoir2005-04-19 20:18:28 +0000
commit167d43d9244aa5961fafbc3760dddbc1c04cc028 (patch)
treec50aee9e6d21f526c07e90896b90d29a59779975
parent7c110ef81923501e8093c0899bda12a38caea7d4 (diff)
downloadscummvm-rg350-167d43d9244aa5961fafbc3760dddbc1c04cc028.tar.gz
scummvm-rg350-167d43d9244aa5961fafbc3760dddbc1c04cc028.tar.bz2
scummvm-rg350-167d43d9244aa5961fafbc3760dddbc1c04cc028.zip
safer and consistent with remapPaletteColor
svn-id: r17693
-rw-r--r--scumm/palette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp
index ba5a52ba76..fe30c0b779 100644
--- a/scumm/palette.cpp
+++ b/scumm/palette.cpp
@@ -609,7 +609,7 @@ void ScummEngine::setupShadowPalette(int redScale, int greenScale, int blueScale
if (b > max)
b = max;
- bestsum = 32000;
+ bestsum = 0x7FFFFFFF;
r &= ~3;
g &= ~3;