Fix for bug #795940 (COMI: strange light pixels)

svn-id: r15252
This commit is contained in:
Max Horn 2004-09-24 21:18:07 +00:00
parent 4c1ff1d087
commit 1036a7fc01

View File

@ -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();