diff options
Diffstat (limited to 'scumm/palette.cpp')
-rw-r--r-- | scumm/palette.cpp | 2 |
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; |