mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
SCUMM: Prevent darkenPallete() in Room 0 in FT, fixes bug #9871
This commit is contained in:
parent
c33637769e
commit
ae8f6397eb
@ -1636,6 +1636,9 @@ void ScummEngine_v6::o6_roomOps() {
|
||||
c = pop();
|
||||
b = pop();
|
||||
a = pop();
|
||||
// Prevent assert() error with corner case, fixes bug #9871
|
||||
if (_game.id == GID_FT && _roomResource == 0)
|
||||
break;
|
||||
darkenPalette(a, a, a, b, c);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user