diff options
-rw-r--r-- | scumm/script_v5.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index 72f27fbbef..d1aa599d54 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1696,8 +1696,13 @@ void Scumm::o5_roomOps() b = getVarOrDirectWord(0x40); } checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)"); - printf("copyPalColor(%d, %d)\n", a, b); - copyPalColor(a, b); + // 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); + _shadowPalette[b] = a; + setDirtyColors(b, b); } else { error("room-color is no longer a valid command"); } |