patch: #629413 - DOTT intro fix

svn-id: r5335
This commit is contained in:
Paweł Kołodziejski 2002-10-27 15:16:49 +00:00
parent ec343e07e4
commit 8e422b7825

View File

@ -898,6 +898,9 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, int h,
if (vs->scrollable)
sx -= vs->xstart >> 3;
if (sx < 0)
goto next_iter;
if (sx >= _numStrips)
return;
@ -993,6 +996,8 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, int h,
}
}
}
next_iter:
CHECK_HEAP;
x++;
stripnr++;