Fixed other warnings and removed ^M in costume.cpp.

svn-id: r4015
This commit is contained in:
Lionel Ulmer 2002-04-19 17:06:08 +00:00
parent 3cf038930f
commit f5a8c89eb3
2 changed files with 2 additions and 1 deletions

View File

@ -755,6 +755,7 @@ void CostumeRenderer::proc_special(Actor *a, byte mask2)
if(shadow2 != 0) if(shadow2 != 0)
{ {
warning("proc_special: shadow2 unimplemented"); warning("proc_special: shadow2 unimplemented");
pcolor = 0;
} }
else // we don't need all the random stuff, just the background copy else // we don't need all the random stuff, just the background copy
{ {

View File

@ -603,7 +603,7 @@ int Scumm::getCachedTrack(int track) {
struct mad_frame frame; struct mad_frame frame;
unsigned char buffer[8192]; unsigned char buffer[8192];
unsigned int buflen = 0; unsigned int buflen = 0;
int count = 0, result = 0; int count = 0;
// See if we find the track in the cache // See if we find the track in the cache
for (i=0; i<CACHE_TRACKS; i++) for (i=0; i<CACHE_TRACKS; i++)