diff options
-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; |