diff options
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 6fdd74e0c2..aa040aad4a 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1258,8 +1258,8 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi dst[j] = dst2[j] = 12+i; maskbits <<= 1; } - dst += vs->width; - dst2 += vs->width; + dst += vs->pitch; + dst2 += vs->pitch; mask_ptr += _numStrips; } } |