[Scummvm-git-logs] scummvm master -> 7886ca6a4f9da6a8b974359371387347e3853b14
sev-
sev at scummvm.org
Mon Feb 13 09:50:50 CET 2017
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:
7886ca6a4f DIRECTOR: Execute movie script 0 on loading for D2-D3
Commit: 7886ca6a4f9da6a8b974359371387347e3853b14
https://github.com/scummvm/scummvm/commit/7886ca6a4f9da6a8b974359371387347e3853b14
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-02-13T09:53:03+01:00
Commit Message:
DIRECTOR: Execute movie script 0 on loading for D2-D3
Changed paths:
engines/director/score.cpp
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 9cc108d..31f97f7 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -48,6 +48,12 @@ Score::Score(DirectorEngine *vm, Archive *archive) {
_movieArchive = archive;
_lingo = _vm->getLingo();
_soundManager = _vm->getSoundManager();
+
+ // FIXME: TODO: Check whether the original truely does it
+ if (_vm->getVersion() <= 3) {
+ _lingo->executeScript(kMovieScript, 0);
+ }
+
_lingo->processEvent(kEventPrepareMovie, kMovieScript, 0);
_movieScriptCount = 0;
_labels = NULL;
More information about the Scummvm-git-logs
mailing list