mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
NEVERHOOD: Fix sprite shadows (e.g. when on top in module 1000, scene 1)
This commit is contained in:
parent
d19af62e6b
commit
4137128cf6
@ -299,11 +299,11 @@ void unpackSpriteRle(const byte *source, int width, int height, byte *dest, int
|
||||
}
|
||||
source += copy;
|
||||
}
|
||||
dest += destPitch;
|
||||
if (replaceColors)
|
||||
for (int xc = 0; xc < width; xc++)
|
||||
if (dest[xc] == oldColor)
|
||||
dest[xc] = newColor;
|
||||
dest += destPitch;
|
||||
}
|
||||
}
|
||||
rows = READ_LE_UINT16(source);
|
||||
|
Loading…
Reference in New Issue
Block a user