diff options
author | Jonathan Gray | 2004-06-26 02:45:17 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-06-26 02:45:17 +0000 |
commit | cbf068b638c5d162c331bd5dc23d0293fe0f5c6c (patch) | |
tree | aa85534816bb001e9421711195fba6a1cbf40ca4 /scumm | |
parent | dfa7af5b5d7935e2450ba6bdb49461229facd1c3 (diff) | |
download | scummvm-rg350-cbf068b638c5d162c331bd5dc23d0293fe0f5c6c.tar.gz scummvm-rg350-cbf068b638c5d162c331bd5dc23d0293fe0f5c6c.tar.bz2 scummvm-rg350-cbf068b638c5d162c331bd5dc23d0293fe0f5c6c.zip |
look for the newer BMAP blocks from later humongous games if we can't find an SMAP block
svn-id: r14060
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 0a328b686b..a10b37914a 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -938,6 +938,10 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi else 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); zplane_list[0] = smap_ptr; |