[Scummvm-git-logs] scummvm branch-2-8 -> 753f83184c6fea63da87151993dd51843c179ff9

athrxx noreply at scummvm.org
Fri Mar 1 12:30:56 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:
753f83184c KYRA: (LOL) - fix bug no. 14990


Commit: 753f83184c6fea63da87151993dd51843c179ff9
    https://github.com/scummvm/scummvm/commit/753f83184c6fea63da87151993dd51843c179ff9
Author: athrxx (athrxx at scummvm.org)
Date: 2024-03-01T13:30:39+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 1506fa65339..03ea12cdd7d 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