fix banjo duel crash

svn-id: r6427
This commit is contained in:
Max Horn
2003-01-12 13:58:16 +00:00
parent 5db47f56d0
commit aa60f424ba
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -851,6 +851,7 @@ byte Scumm::isMaskActiveAt(int l, int t, int r, int b, byte *mem)
void Gdi::drawBitmap(byte *ptr, VirtScreen *vs, int x, int y, const int h,
int stripnr, int numstrip, byte flag)
{
assert(h > 0);
byte *backbuff_ptr, *bgbak_ptr, *smap_ptr;
int i;
byte *zplane_list[9];
+1 -1
View File
@@ -356,7 +356,7 @@ void Scumm::drawObject(int obj, int arg)
ypos = od->y_pos;
width = od->width >> 3;
height = od->height &= 0xF8; // Ender
height = od->height &= 0xFFFFFFF8; // Mask out last 3 bits
if (width == 0 || xpos > _screenEndStrip || xpos + width < _screenStartStrip)
return;