aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2004-06-06 02:36:44 +0000
committerEugene Sandulenko2004-06-06 02:36:44 +0000
commit2603446c0d2a15b0ac2702c9c025ba48182fc0b3 (patch)
tree4dd13d58e00a5330b3c4fbc9663fa7fcb3b50399
parent7b2a81a8a673493b829524c0189f4ced99cffc53 (diff)
downloadscummvm-rg350-2603446c0d2a15b0ac2702c9c025ba48182fc0b3.tar.gz
scummvm-rg350-2603446c0d2a15b0ac2702c9c025ba48182fc0b3.tar.bz2
scummvm-rg350-2603446c0d2a15b0ac2702c9c025ba48182fc0b3.zip
oops. Fix resource loading for 6.x games
svn-id: r13939
-rw-r--r--scumm/resource.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index faba9245d2..0debcace46 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -505,10 +505,13 @@ void ScummEngine::readResTypeList(int id, uint32 tag, const char *name) {
for (i = 0; i < num; i++) {
res.roomoffs[id][i] = _fileHandle.readUint32LE();
}
- // FIXME: these are related to globs
- //_fileHandle.read(_globSize, num);
- _fileHandle.seek(4 * num, SEEK_CUR);
+ if (_heversion >= 70) {
+ // FIXME: these are related to globs
+
+ //_fileHandle.read(_globSize, num);
+ _fileHandle.seek(4 * num, SEEK_CUR);
+ }
}
}