aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v8.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index dd9b17df66..72a965e288 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -947,9 +947,12 @@ void Scumm_v8::o8_roomOps()
case 0x59: // SO_ROOM_TRANSFORM Transform room
case 0x5A: // SO_ROOM_CYCLE_SPEED Set palette cycling speed
case 0x5B: // SO_ROOM_COPY_PALETTE Copy palette
- case 0x5C: // SO_ROOM_NEW_PALETTE Create new palette
error("o8_roomOps: unimplemented case %d", subOp);
break;
+ case 0x5C: // SO_ROOM_NEW_PALETTE Create new palette
+ warning("o8_roomOps: SO_ROOM_NEW_PALETTE - tell ender if this looks ok :)");
+ setPalette(pop()); // fixme: i think this is right
+ break;
case 0x5D: // SO_ROOM_SAVE_GAME Save game
warning("V8 Save game opcode not implemented");
break;