aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/container.h
diff options
context:
space:
mode:
authorBorja Lorente2016-06-17 14:21:03 +0200
committerBorja Lorente2016-08-14 18:28:08 +0200
commitc42451bf22d22f10c73013aec169689fad26ded6 (patch)
treef89b7f3119e22b1ced29c4759c67af09c99fe293 /engines/macventure/container.h
parentda174b708c74b051d297fb23e61b70faf96448d4 (diff)
downloadscummvm-rg350-c42451bf22d22f10c73013aec169689fad26ded6.tar.gz
scummvm-rg350-c42451bf22d22f10c73013aec169689fad26ded6.tar.bz2
scummvm-rg350-c42451bf22d22f10c73013aec169689fad26ded6.zip
MACVENTURE: Fix (another) small retrieval bug
Diffstat (limited to 'engines/macventure/container.h')
-rw-r--r--engines/macventure/container.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/macventure/container.h b/engines/macventure/container.h
index 3573ddabeb..9cfa013c82 100644
--- a/engines/macventure/container.h
+++ b/engines/macventure/container.h
@@ -177,7 +177,7 @@ public:
uint32 groupID = (id >> 6);
uint32 objectIndex = id & 0x3f; // Index within the group
- _res->seek((groupID * 6), SEEK_SET);
+ _res->seek(4 + (groupID * 6), SEEK_SET);
uint32 offset = 0;
for (uint i = 0; i < objectIndex; i++) {