look for the newer BMAP blocks from later humongous games if we can't find an SMAP block

svn-id: r14060
This commit is contained in:
Jonathan Gray 2004-06-26 02:45:17 +00:00
parent dfa7af5b5d
commit cbf068b638

View file

@ -938,6 +938,10 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi
else else
smap_ptr = _vm->findResource(MKID('SMAP'), ptr); smap_ptr = _vm->findResource(MKID('SMAP'), ptr);
// newer Humongous titles use this
if (smap_ptr == NULL)
smap_ptr = _vm->findResource(MKID('BMAP'), ptr);
assert(smap_ptr); assert(smap_ptr);
zplane_list[0] = smap_ptr; zplane_list[0] = smap_ptr;