diff options
Diffstat (limited to 'engines/cine/gfx.cpp')
-rw-r--r-- | engines/cine/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp index 57e58a7c1c..0435060595 100644 --- a/engines/cine/gfx.cpp +++ b/engines/cine/gfx.cpp @@ -166,7 +166,7 @@ void transformPaletteRange(byte startColor, byte stopColor, int8 r, int8 g, int8 //gfxFlipPage(page2); } -void gfxFillSprite(byte *spritePtr, uint16 width, uint16 height, byte *page, int16 x, int16 y) { +void gfxFillSprite(byte *spritePtr, uint16 width, uint16 height, byte *page, int16 x, int16 y, uint8 fillColor) { int16 i; int16 j; @@ -178,7 +178,7 @@ void gfxFillSprite(byte *spritePtr, uint16 width, uint16 height, byte *page, int if (x + j >= 0 && x + j < 320 && i + y >= 0 && i + y < 200) { if (!*(spritePtr++)) { - *(destPtr++) = 0; + *(destPtr++) = fillColor; } else { destPtr++; } |