From b556b277fced5a9f4a70be8751f3aa500fb47a31 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 1 Sep 2004 12:10:41 +0000 Subject: Update debug code svn-id: r14858 --- scumm/gfx.cpp | 4 ++-- 1 file 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; } } -- cgit v1.2.3