aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-13 13:27:44 +0200
committerMartin Kiewitz2015-06-13 13:27:44 +0200
commitcfb089115362e23e46adcaef8cdedc3570129132 (patch)
tree452f128ccbfe70e020ea37ce7162e6a64680e338
parent17a02395234f8ff6af581b4e81065ecb0fa21b79 (diff)
downloadscummvm-rg350-cfb089115362e23e46adcaef8cdedc3570129132.tar.gz
scummvm-rg350-cfb089115362e23e46adcaef8cdedc3570129132.tar.bz2
scummvm-rg350-cfb089115362e23e46adcaef8cdedc3570129132.zip
SHERLOCK: 3DO: load scene: load exits seek
-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);