diff options
author | Max Horn | 2003-05-03 20:49:53 +0000 |
---|---|---|
committer | Max Horn | 2003-05-03 20:49:53 +0000 |
commit | 9466a5dcef440baaa17139b30bafe297b9313276 (patch) | |
tree | b468f05b6b1970f3e79dc85264985789c850e58c /scumm/script_v5.cpp | |
parent | b3eb397ad23a7d111d7b56cae45051ad4fb1dc04 (diff) | |
download | scummvm-rg350-9466a5dcef440baaa17139b30bafe297b9313276.tar.gz scummvm-rg350-9466a5dcef440baaa17139b30bafe297b9313276.tar.bz2 scummvm-rg350-9466a5dcef440baaa17139b30bafe297b9313276.zip |
Patch #730800: EGA LOOM: Hack to fix palette problem (also helps MonkeyEGA)
svn-id: r7290
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index e2b3231612..5f773d7f15 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1672,8 +1672,7 @@ void Scumm_v5::o5_roomOps() { // printf("copyPalColor(%d, %d)\n", a, b); // copyPalColor(a, b); _shadowPalette[b] = a; - if (!(_features & GF_16COLOR)) - setDirtyColors(b, b); + setDirtyColors(b, b); } else { error("room-color is no longer a valid command"); } @@ -1694,8 +1693,7 @@ void Scumm_v5::o5_roomOps() { } checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)"); _shadowPalette[b] = a; - if (!(_features & GF_16COLOR)) - setDirtyColors(b, b); + setDirtyColors(b, b); } else { a = getVarOrDirectWord(0x80); b = getVarOrDirectWord(0x40); |