[Scummvm-git-logs] scummvm master -> 12565cb272cac4072882733214ff0cc8ecd1d578

djsrv dservilla at gmail.com
Wed Jun 9 02:20:37 UTC 2021


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:
12565cb272 DIRECTOR: LINGO: Fix the number of chunks


Commit: 12565cb272cac4072882733214ff0cc8ecd1d578
    https://github.com/scummvm/scummvm/commit/12565cb272cac4072882733214ff0cc8ecd1d578
Author: djsrv (dservilla at gmail.com)
Date: 2021-06-08T22:19:38-04:00

Commit Message:
DIRECTOR: LINGO: Fix the number of chunks

Deleted these lines by accident...

Changed paths:
    engines/director/lingo/lingo-code.cpp


diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp
index 431cc19284..133517a474 100644
--- a/engines/director/lingo/lingo-code.cpp
+++ b/engines/director/lingo/lingo-code.cpp
@@ -987,6 +987,8 @@ Datum LC::chunkRef(ChunkType type, int startChunk, int endChunk, const Datum &sr
 
 	if (startChunk < 1) {
 		// return the last chunk we found
+		startChunk = chunkNum;
+		endChunk = chunkNum;
 		exprStartIdx = chunkStartIdx;
 		exprEndIdx = chunkEndIdx;
 	} else {




More information about the Scummvm-git-logs mailing list