fixed script dumping for flobject script in V6/V7 games

svn-id: r7419
This commit is contained in:
Max Horn 2003-05-10 18:38:59 +00:00
parent 4c6cb1d7c9
commit 6bf0b6cb0d

View File

@ -1719,9 +1719,7 @@ void Scumm::loadFlObject(uint object, uint room) {
char buf[32];
byte *ptr = foir.obcd;
sprintf(buf, "roomobj-%d-", room);
if (_features & GF_AFTER_V8)
// TODO - maybe V8 is not the only that needs this?
ptr = findResource(MKID('VERB'), ptr, 0);
ptr = findResource(MKID('VERB'), ptr, 0);
dumpResource(buf, object, ptr);
}