diff options
author | Vincent Hamm | 2002-03-08 20:57:09 +0000 |
---|---|---|
committer | Vincent Hamm | 2002-03-08 20:57:09 +0000 |
commit | 66b8932d83fca91bebdef60498492d20f0d0c9cc (patch) | |
tree | 5596be5db0e53550d350bc24482786c721f5fd13 /object.cpp | |
parent | fb49fa04ba30d1cccc77ccb9d9825720fd27a1d0 (diff) | |
download | scummvm-rg350-66b8932d83fca91bebdef60498492d20f0d0c9cc.tar.gz scummvm-rg350-66b8932d83fca91bebdef60498492d20f0d0c9cc.tar.bz2 scummvm-rg350-66b8932d83fca91bebdef60498492d20f0d0c9cc.zip |
Implemented multiple image blast object
svn-id: r3690
Diffstat (limited to 'object.cpp')
-rw-r--r-- | object.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/object.cpp b/object.cpp index 7db7a6e823..cbda40f2cb 100644 --- a/object.cpp +++ b/object.cpp @@ -1154,8 +1154,11 @@ void Scumm::drawEnqueuedObject(EnqueuedObject *eo) { return; } + if(eo->l == 0) + eo->l = 1; + assert(ptr); - ptr = findResource(MKID('IM01'), ptr); + ptr = findResource(IMxx_tags[eo->l], ptr); assert(ptr); bomp = findResourceData(MKID('BOMP'), ptr); |