aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/scene.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp
index 7fd423ee4d..78c7acbd55 100644
--- a/engines/sherlock/scene.cpp
+++ b/engines/sherlock/scene.cpp
@@ -785,11 +785,12 @@ bool Scene::loadScene(const Common::String &filename) {
roomStream->read(&_walkData[0], header3DO_walkData_size);
// === EXITS === Read in the exits
+ roomStream->seek(header3DO_exits_offset);
+
int exitsCount = header3DO_exits_size / 20;
_exitZone = -1;
_exits.resize(exitsCount);
-
for (int idx = 0; idx < exitsCount; ++idx)
_exits[idx].load3DO(*roomStream);