[Scummvm-cvs-logs] scummvm master -> cfb089115362e23e46adcaef8cdedc3570129132
m-kiewitz
m_kiewitz at users.sourceforge.net
Sat Jun 13 13:27:53 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cfb0891153 SHERLOCK: 3DO: load scene: load exits seek
Commit: cfb089115362e23e46adcaef8cdedc3570129132
https://github.com/scummvm/scummvm/commit/cfb089115362e23e46adcaef8cdedc3570129132
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-06-13T13:27:44+02:00
Commit Message:
SHERLOCK: 3DO: load scene: load exits seek
Changed paths:
engines/sherlock/scene.cpp
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp
index 7fd423e..78c7acb 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);
More information about the Scummvm-git-logs
mailing list