KYRA: (LOL) - fix bug no. 14990

("Crash when going up in the Draracle's cave")
This commit is contained in:
athrxx 2024-02-29 21:27:46 +01:00
parent e8dffe0efe
commit 634d29fb01

View File

@ -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)