diff options
author | Max Horn | 2004-09-24 21:18:07 +0000 |
---|---|---|
committer | Max Horn | 2004-09-24 21:18:07 +0000 |
commit | 1036a7fc01d3b193204e14dbb756170eab207f7b (patch) | |
tree | 6ddae57eb16671ae4c80138225c05d2f96a2aebd | |
parent | 4c1ff1d0874512f1199f88c9dfeb01e8c2712174 (diff) | |
download | scummvm-rg350-1036a7fc01d3b193204e14dbb756170eab207f7b.tar.gz scummvm-rg350-1036a7fc01d3b193204e14dbb756170eab207f7b.tar.bz2 scummvm-rg350-1036a7fc01d3b193204e14dbb756170eab207f7b.zip |
Fix for bug #795940 (COMI: strange light pixels)
svn-id: r15252
-rw-r--r-- | scumm/scumm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 3f208c8e42..a607248126 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -1790,6 +1790,11 @@ void ScummEngine::startScene(int room, Actor *a, int objectNr) { } if (_features & GF_SMALL_HEADER) setDirtyColors(0, 255); + } else if (_version == 8) { + // Set the shadow palette(s) to all black. This fixes + // bug #795940, and actually makes some sense (after all, + // shadows tend to be rather black, don't they? ;-) + memset(_shadowPalette, 0, NUM_SHADOW_PALETTE * 256); } clearDrawObjectQueue(); |