aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-10 18:38:59 +0000
committerMax Horn2003-05-10 18:38:59 +0000
commit6bf0b6cb0d0c49cd3763852e89db3f4f937a0d1e (patch)
treec47d1d6a291d4a527f87fc0180af6ab1fbc59315
parent4c6cb1d7c9d94a7e49906a22dfa5e1808511e591 (diff)
downloadscummvm-rg350-6bf0b6cb0d0c49cd3763852e89db3f4f937a0d1e.tar.gz
scummvm-rg350-6bf0b6cb0d0c49cd3763852e89db3f4f937a0d1e.tar.bz2
scummvm-rg350-6bf0b6cb0d0c49cd3763852e89db3f4f937a0d1e.zip
fixed script dumping for flobject script in V6/V7 games
svn-id: r7419
-rw-r--r--scumm/object.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index f022af1a95..4e1df8a4f6 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -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);
}