diff --git a/costume.cpp b/costume.cpp index 43fee9ad9ac..3756acbb7e2 100644 --- a/costume.cpp +++ b/costume.cpp @@ -755,6 +755,7 @@ void CostumeRenderer::proc_special(Actor *a, byte mask2) if(shadow2 != 0) { warning("proc_special: shadow2 unimplemented"); + pcolor = 0; } else // we don't need all the random stuff, just the background copy { diff --git a/sound.cpp b/sound.cpp index 82592be4e57..54d3851d04d 100644 --- a/sound.cpp +++ b/sound.cpp @@ -603,7 +603,7 @@ int Scumm::getCachedTrack(int track) { struct mad_frame frame; unsigned char buffer[8192]; unsigned int buflen = 0; - int count = 0, result = 0; + int count = 0; // See if we find the track in the cache for (i=0; i