diff options
author | Travis Howell | 2003-10-05 02:58:11 +0000 |
---|---|---|
committer | Travis Howell | 2003-10-05 02:58:11 +0000 |
commit | 9e0b1ca890fb0ae355bd2744f5a95d88455f69a0 (patch) | |
tree | ebcbcfde0b14accc4b7757730a7089cf7385ef85 /scumm/script_v5.cpp | |
parent | 661d58330354cefa2b291b1acdad84f90768b9f7 (diff) | |
download | scummvm-rg350-9e0b1ca890fb0ae355bd2744f5a95d88455f69a0.tar.gz scummvm-rg350-9e0b1ca890fb0ae355bd2744f5a95d88455f69a0.tar.bz2 scummvm-rg350-9e0b1ca890fb0ae355bd2744f5a95d88455f69a0.zip |
Use _roomPalette for 256 color 'SMALL_HEADER' games too, since it seems to help some.
svn-id: r10599
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index 857883cfa2..670622aa6a 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1834,13 +1834,8 @@ void ScummEngine_v5::o5_roomOps() { b = getVarOrDirectWord(0x40); } checkRange(256, 0, a, "o5_roomOps: 2: Illegal room color slot (%d)"); - if (_features & GF_16COLOR) { - _roomPalette[b] = a; - _fullRedraw = true; - } else { - _shadowPalette[b] = a; - setDirtyColors(b, b); - } + _roomPalette[b] = a; + _fullRedraw = true; } else { error("room-color is no longer a valid command"); } |