Skip to content

Commit

Permalink
SHERLOCK: 3DO: load scene: load exits seek
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kiewitz committed Jun 13, 2015
1 parent 17a0239 commit cfb0891
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/sherlock/scene.cpp
Expand Up @@ -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);

Expand Down

0 comments on commit cfb0891

Please sign in to comment.