aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v5.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index e5a8eadec0..1b8bf504b0 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1632,7 +1632,8 @@ void Scumm_v5::o5_roomOps() {
// printf("copyPalColor(%d, %d)\n", a, b);
// copyPalColor(a, b);
_shadowPalette[b] = a;
- setDirtyColors(b, b);
+ if (!(_features & GF_16COLOR))
+ setDirtyColors(b, b);
} else {
error("room-color is no longer a valid command");
}