Skip to content

Commit

Permalink
KYRA: (LOL) - fix bug no. 14990
Browse files Browse the repository at this point in the history
("Crash when going up in the Draracle's cave")
  • Loading branch information
athrxx committed Feb 29, 2024
1 parent e8dffe0 commit 634d29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/kyra/engine/lol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 634d29f

Please sign in to comment.