SHERLOCK: 3DO: load scene: load exits seek

This commit is contained in:
Martin Kiewitz 2015-06-13 13:27:44 +02:00
parent 17a0239523
commit cfb0891153

View File

@ -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);