aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
authorJonathan Gray2003-03-15 21:28:22 +0000
committerJonathan Gray2003-03-15 21:28:22 +0000
commit9424b0f20e38b633a333371fc3e8cc26505fe255 (patch)
tree05d5cb5ab2851075008f0586df2149c642cc8a8e /scumm/script_v8.cpp
parentedc5ea57f0d0522eb9e2cf4cfd700f1cf493e97a (diff)
downloadscummvm-rg350-9424b0f20e38b633a333371fc3e8cc26505fe255.tar.gz
scummvm-rg350-9424b0f20e38b633a333371fc3e8cc26505fe255.tar.bz2
scummvm-rg350-9424b0f20e38b633a333371fc3e8cc26505fe255.zip
patch #704237 SO_ROOM_NEW_PALETTE implementation which fixes at least the banjo and crypt scenes
svn-id: r6814
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 1c651ccbc7..0a17e29b1c 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;