mirror of
https://github.com/libretro/scummvm.git
synced 2026-11-07 04:26:05 -10:00
KYRA: (LOK/Floppy) - fix bug no. 17421
This commit is contained in:
1 parent
24c318e4e9
commit
e0ddc60bfa
1 file changed
+4
-5
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user