KYRA: (LOK/Floppy) - fix bug no. 17421

This commit is contained in:
athrxx committed 2026-10-22 21:59:09 +02:00
1 parent 24c318e4e9
commit e0ddc60bfa
1 file changed
+4 -5
+4 -5
View File
@@ -1265,11 +1265,10 @@ int KyraEngine_LoK::o1_setFireberryGlowPalette(EMCState *script) {
}
if (_brandonStatusBit & 2) {
if (_currentCharacter->sceneId != 133 && _currentCharacter->sceneId != 137 &&
_currentCharacter->sceneId != 165 && _currentCharacter->sceneId != 173 &&
(_currentCharacter->sceneId < 187 || _currentCharacter->sceneId > 198)) {
palIndex = 14;
}
if ((!(_flags.isTalkie || _flags.platform == Common::kPlatformMacintosh || _flags.platform == Common::kPlatformFMTowns) ||
(_currentCharacter->sceneId != 133 && _currentCharacter->sceneId != 137 && _currentCharacter->sceneId != 165 && _currentCharacter->sceneId != 173)) &&
(_currentCharacter->sceneId < 187 || _currentCharacter->sceneId > 198))
palIndex = 14;
}
_screen->getPalette(1).copy(_specialPalettes[palIndex], 0, 15, 228);