mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 10:26:40 +00:00
SHERLOCK: 3DO: load scene: load exits seek
This commit is contained in:
parent
17a0239523
commit
cfb0891153
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user