diff options
author | Travis Howell | 2003-08-26 15:56:37 +0000 |
---|---|---|
committer | Travis Howell | 2003-08-26 15:56:37 +0000 |
commit | 63e89e58829c100ee766b35c07f87be7ae0b059d (patch) | |
tree | 593707002a93510760d7170d768f173e9e24d12e /scumm/script_v2.cpp | |
parent | fda7df57fa2df58818562127aa4c5eb150f55927 (diff) | |
download | scummvm-rg350-63e89e58829c100ee766b35c07f87be7ae0b059d.tar.gz scummvm-rg350-63e89e58829c100ee766b35c07f87be7ae0b059d.tar.bz2 scummvm-rg350-63e89e58829c100ee766b35c07f87be7ae0b059d.zip |
Fix room colors in v1 zak
svn-id: r9869
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 7770946c44..6d99852c71 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1333,8 +1333,14 @@ void Scumm_v2::o2_roomOps() { VAR(VAR_CAMERA_MAX_X) = b; break; case 2: /* room color */ - _shadowPalette[b] = a; - _fullRedraw = true; + if (_version == 1) { + _shadowPalette[0] = 255; + _shadowPalette[1] = a; + _shadowPalette[2] = b; + } else { + _shadowPalette[b] = a; + _fullRedraw = true; + } break; } } |