aboutsummaryrefslogtreecommitdiff
path: root/object.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-03-08 20:57:09 +0000
committerVincent Hamm2002-03-08 20:57:09 +0000
commit66b8932d83fca91bebdef60498492d20f0d0c9cc (patch)
tree5596be5db0e53550d350bc24482786c721f5fd13 /object.cpp
parentfb49fa04ba30d1cccc77ccb9d9825720fd27a1d0 (diff)
downloadscummvm-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.cpp5
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);