aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-04-11 05:22:28 +0000
committerPaweł Kołodziejski2003-04-11 05:22:28 +0000
commitf1aa6daf007c2572721226b480c170f47fa5ccd6 (patch)
tree3dff00f7dc79914440a23255e3953ecf883a8f71 /scumm
parent8febecac27e21ec55691013ccb9bbedce9c9abc9 (diff)
downloadscummvm-rg350-f1aa6daf007c2572721226b480c170f47fa5ccd6.tar.gz
scummvm-rg350-f1aa6daf007c2572721226b480c170f47fa5ccd6.tar.bz2
scummvm-rg350-f1aa6daf007c2572721226b480c170f47fa5ccd6.zip
fix for ega palette
svn-id: r6964
Diffstat (limited to 'scumm')
-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");
}