[Scummvm-git-logs] scummvm master -> 634d29fb019e71698771ee3890e03c59eea3af7f

athrxx noreply at scummvm.org
Thu Feb 29 20:30:15 UTC 2024


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:
634d29fb01 KYRA: (LOL) - fix bug no. 14990


Commit: 634d29fb019e71698771ee3890e03c59eea3af7f
    https://github.com/scummvm/scummvm/commit/634d29fb019e71698771ee3890e03c59eea3af7f
Author: athrxx (athrxx at scummvm.org)
Date: 2024-02-29T21:29:44+01:00

Commit Message:
KYRA: (LOL) - fix bug no. 14990

("Crash when going up in the Draracle's cave")

Changed paths:
    engines/kyra/engine/lol.cpp


diff --git a/engines/kyra/engine/lol.cpp b/engines/kyra/engine/lol.cpp
index 8b6c65cb6e4..e7b2641b148 100644
--- a/engines/kyra/engine/lol.cpp
+++ b/engines/kyra/engine/lol.cpp
@@ -1912,7 +1912,7 @@ int LoLEngine::playCharacterScriptChat(int charId, int mode, int restorePortrait
 	} else if (charId > 0) {
 		int i = 0;
 
-		for (; i < 3; i++) {
+		for (; i < 4; i++) {
 			if (_characters[i].id != charId || !(_characters[i].flags & 1))
 				continue;
 			if (charId == ch)




More information about the Scummvm-git-logs mailing list