[Scummvm-git-logs] scummvm master -> 8f0f6825bb4b8afd139e16929b8e6d3be728a7ba
djsrv
dservilla at gmail.com
Tue Jul 28 23:37:05 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:
8f0f6825bb DIRECTOR: LINGO: Don't load unreferenced scripts
Commit: 8f0f6825bb4b8afd139e16929b8e6d3be728a7ba
https://github.com/scummvm/scummvm/commit/8f0f6825bb4b8afd139e16929b8e6d3be728a7ba
Author: djsrv (dservilla at gmail.com)
Date: 2020-07-28T19:36:47-04:00
Commit Message:
DIRECTOR: LINGO: Don't load unreferenced scripts
Changed paths:
engines/director/score.cpp
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index 92581f6294..b503352ce0 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -834,7 +834,7 @@ void Score::loadActions(Common::SeekableSubReadStreamEndian &stream) {
for (j = _actions.begin(); j != _actions.end(); ++j) {
if (!scriptRefs[j->_key]) {
warning("Action id %d is not referenced, the code is:\n-----\n%s\n------", j->_key, j->_value.c_str());
- // continue;
+ continue;
}
if (!j->_value.empty()) {
_movie->getMainLingoArch()->addCode(j->_value.c_str(), kScoreScript, j->_key);
More information about the Scummvm-git-logs
mailing list