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:
parent
dfa7af5b5d
commit
cbf068b638
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue