[Scummvm-git-logs] scummvm master -> af73749543874f2dbbf2539e50c2884a744efd78
npjg
nathanael.gentrydb8 at gmail.com
Wed Jun 17 21:05:31 UTC 2020
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:
af73749543 DIRECTOR: Don't load channels for empty frameset
Commit: af73749543874f2dbbf2539e50c2884a744efd78
https://github.com/scummvm/scummvm/commit/af73749543874f2dbbf2539e50c2884a744efd78
Author: Nathanael Gentry (nathanael.gentrydb8 at gmail.com)
Date: 2020-06-17T17:05:26-04:00
Commit Message:
DIRECTOR: Don't load channels for empty frameset
Changed paths:
engines/director/score.cpp
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 84e7f4c51f..a3ed671ad2 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -383,9 +383,9 @@ void Score::startLoop() {
}
// All frames in the same movie have the same number of channels
- for (uint i = 0; i < _frames[1]->_sprites.size(); i++) {
- _channels.push_back(new Channel(_frames[1]->_sprites[i]));
- }
+ if (!_stopPlay)
+ for (uint i = 0; i < _frames[1]->_sprites.size(); i++)
+ _channels.push_back(new Channel(_frames[1]->_sprites[i]));
_lingo->processEvent(kEventStartMovie);
More information about the Scummvm-git-logs
mailing list