diff options
author | lukaslw | 2014-10-09 00:12:09 +0200 |
---|---|---|
committer | lukaslw | 2014-10-09 00:12:09 +0200 |
commit | ebd417fef4b56a2d1e0c8fa39e0d9766a4c2ed2d (patch) | |
tree | 6fac76ea2106f7ef0a9ce7a4e37a0db24cb6a429 /engines | |
parent | 257fd35f5a8c3df9820cc02bc607e8e372ff2309 (diff) | |
download | scummvm-rg350-ebd417fef4b56a2d1e0c8fa39e0d9766a4c2ed2d.tar.gz scummvm-rg350-ebd417fef4b56a2d1e0c8fa39e0d9766a4c2ed2d.tar.bz2 scummvm-rg350-ebd417fef4b56a2d1e0c8fa39e0d9766a4c2ed2d.zip |
PRINCE: GraphicsMan::getBlendTableColor - change big number to INT_MAX
Diffstat (limited to 'engines')
-rw-r--r-- | engines/prince/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/prince/graphics.cpp b/engines/prince/graphics.cpp index 40ecaf5d0b..36760874c1 100644 --- a/engines/prince/graphics.cpp +++ b/engines/prince/graphics.cpp @@ -409,7 +409,7 @@ byte GraphicsMan::getBlendTableColor(byte pixelColor, byte backgroundPixelColor, } currColor = 0; - bigValue = 999999999; // infinity + bigValue = INT_MAX; // infinity for (int j = 0; j < 256; j++) { redSecondOrg = originalPalette[3 * j]; redNew = redFirstOrg - redSecondOrg; |