aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource_v3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/resource_v3.cpp')
-rw-r--r--scumm/resource_v3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource_v3.cpp b/scumm/resource_v3.cpp
index 92f718b8c4..b64ae5ad30 100644
--- a/scumm/resource_v3.cpp
+++ b/scumm/resource_v3.cpp
@@ -39,7 +39,7 @@ void Scumm_v3::readIndexFile() {
warning("The magic id doesn't match (0x%X)\n", magic);
_numGlobalObjects = _fileHandle.readUint16LE();
- _fileHandle.seek(_numGlobalObjects, SEEK_CUR); // Skip object flags
+ _fileHandle.seek(_numGlobalObjects * 4, SEEK_CUR);
_numRooms = _fileHandle.readByte();
_fileHandle.seek(_numRooms * 3, SEEK_CUR);
_numCostumes = _fileHandle.readByte();