aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-08-15 07:44:57 +0000
committerTravis Howell2004-08-15 07:44:57 +0000
commit54a5e3612d6f62c1843c60b75f428376fa0de208 (patch)
treeafcd4a9c067cf3f81d0a25635c8067f9caff4e3d
parent4f4b5c713d07d6c1677c72e1847b9dfed7bb95d0 (diff)
downloadscummvm-rg350-54a5e3612d6f62c1843c60b75f428376fa0de208.tar.gz
scummvm-rg350-54a5e3612d6f62c1843c60b75f428376fa0de208.tar.bz2
scummvm-rg350-54a5e3612d6f62c1843c60b75f428376fa0de208.zip
Correct value
svn-id: r14622
-rw-r--r--scumm/palette.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/palette.cpp b/scumm/palette.cpp
index f54a0a2186..d4dba16869 100644
--- a/scumm/palette.cpp
+++ b/scumm/palette.cpp
@@ -677,7 +677,7 @@ int ScummEngine::remapPaletteColor(int r, int g, int b, uint threshold) {
if (b > 255)
b = 255;
- bestsum = (uint) - 1;
+ bestsum = 0x7FFFFFFF;
r &= ~3;
g &= ~3;