aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-08-27 01:12:18 +0000
committerTravis Howell2003-08-27 01:12:18 +0000
commit06d07054c355e8c76574fd47d27df3e182c6e8d3 (patch)
treed2f778a9689b86e1df2a67b2b8dc8d79d990d635 /scumm/script_v2.cpp
parent69693575051c7495f1dac23fd8f2b8e81a8f5262 (diff)
downloadscummvm-rg350-06d07054c355e8c76574fd47d27df3e182c6e8d3.tar.gz
scummvm-rg350-06d07054c355e8c76574fd47d27df3e182c6e8d3.tar.bz2
scummvm-rg350-06d07054c355e8c76574fd47d27df3e182c6e8d3.zip
Fix room palette issues in small_header games.
Fix is only for EGA games so far. svn-id: r9873
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 6d99852c71..a8cd5f3880 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -1334,11 +1334,11 @@ void Scumm_v2::o2_roomOps() {
break;
case 2: /* room color */
if (_version == 1) {
- _shadowPalette[0] = 255;
- _shadowPalette[1] = a;
- _shadowPalette[2] = b;
+ _roomPalette[0] = 255;
+ _roomPalette[1] = a;
+ _roomPalette[2] = b;
} else {
- _shadowPalette[b] = a;
+ _roomPalette[b] = a;
_fullRedraw = true;
}
break;