From 9424b0f20e38b633a333371fc3e8cc26505fe255 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sat, 15 Mar 2003 21:28:22 +0000 Subject: [PATCH] patch #704237 SO_ROOM_NEW_PALETTE implementation which fixes at least the banjo and crypt scenes svn-id: r6814 --- scumm/script_v8.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index 1c651ccbc70..0a17e29b1ce 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -979,8 +979,8 @@ void Scumm_v8::o8_roomOps() { error("o8_roomOps: unimplemented case %d", subOp); break; case 0x5C: // SO_ROOM_NEW_PALETTE New palette - // FIXME: Used in the Crypt scene - warning("o8_roomOps: unimplemented case SO_ROOM_NEW_PALETTE(%d)", pop()); + a = pop(); + setPalette(a); break; case 0x5D: // SO_ROOM_SAVE_GAME Save game _saveLoadCompatible = true;