Fix bug when setting up mouse cursor with inventory palette.

svn-id: r43200
This commit is contained in:
Johannes Schickel 2009-08-10 02:32:19 +00:00
parent 2ccffb9075
commit b63d787caa

View File

@ -245,9 +245,11 @@ void Screen_LoK::postProcessCursor(uint8 *data, int width, int height, int pitch
pitch -= width;
for (int y = 0; y < height; ++y) {
for (int x = 0; x < width; ++x)
for (int x = 0; x < width; ++x) {
if (*data != _cursorColorKey)
*data++ += 32;
*data += 32;
++data;
}
data += pitch;
}