[Scummvm-git-logs] scummvm master -> 8cdc6015faecebccee8b3ade3f7521d55797e0ab
sev-
sev at scummvm.org
Sun Feb 9 21:22:48 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:
8cdc6015fa DIRECTOR: LINGO: Fix regression from 42462f1e11d
Commit: 8cdc6015faecebccee8b3ade3f7521d55797e0ab
https://github.com/scummvm/scummvm/commit/8cdc6015faecebccee8b3ade3f7521d55797e0ab
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-02-09T22:22:36+01:00
Commit Message:
DIRECTOR: LINGO: Fix regression from 42462f1e11d
This resulted in cast scripts not being executed.
Changed paths:
engines/director/lingo/lingo.cpp
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index 37b07a1..371b7fc 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -91,9 +91,6 @@ Lingo::~Lingo() {
}
ScriptContext *Lingo::getScriptContext(ScriptType type, uint16 id) {
- if (type >= (int)_archives[_archiveIndex].scriptContexts->size()) {
- return NULL;
- }
if (!_archives[_archiveIndex].scriptContexts[type].contains(id)) {
return NULL;
}
More information about the Scummvm-git-logs
mailing list