Skip to content

Commit

Permalink
PRINCE: GraphicsMan::getBlendTableColor - change big number to INT_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaslw committed Oct 8, 2014
1 parent 257fd35 commit ebd417f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/prince/graphics.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit ebd417f

Please sign in to comment.