aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 694c31b46c..94281b4fd9 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1661,18 +1661,7 @@ void Scumm_v5::o5_roomOps() {
b = getVarOrDirectWord(0x40);
}
checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)");
- // FIXME - fingolfin thinks our whole _shadowPalette usage is weird.
- // It seems very suspicious that subopcode 2 is identical to subopcode 4
- // for GF_SMALL_HEADER games. Needs investigation.
-// printf("copyPalColor(%d, %d)\n", a, b);
-// copyPalColor(a, b);
- if (_features & GF_16COLOR) {
- _roomPalette[b] = a;
- } else {
- _shadowPalette[b] = a;
- setDirtyColors(b, b);
- }
- } else {
+ _roomPalette[b] = a;
error("room-color is no longer a valid command");
}
break;