aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-06-25 09:52:17 +0000
committerTravis Howell2004-06-25 09:52:17 +0000
commitb2c417d463dafd6e657e79a61c188f39d241e22e (patch)
treebdb5ee46f02995633a3832286f6d50187b0f8850
parent2ce0184d12e926b559d9ca33b14f544cdaeb7544 (diff)
downloadscummvm-rg350-b2c417d463dafd6e657e79a61c188f39d241e22e.tar.gz
scummvm-rg350-b2c417d463dafd6e657e79a61c188f39d241e22e.tar.bz2
scummvm-rg350-b2c417d463dafd6e657e79a61c188f39d241e22e.zip
Fix regression in HE 7.2 games
svn-id: r14039
-rw-r--r--scumm/resource.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index a52726dc20..d46b8aed83 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -355,6 +355,8 @@ void ScummEngine::readIndexFile() {
_fileHandle.read(_objectStateTable, num);
_fileHandle.read(_objectOwnerTable, num);
_fileHandle.read(_objectRoomTable, num);
+ if (_heversion >= 72)
+ _fileHandle.seek(num, SEEK_CUR);
} else {
_fileHandle.read(_objectOwnerTable, num);
for (i = 0; i < num; i++) {