Warn on bad backgrounds.

This commit is contained in:
Steve Checkoway
2006-03-18 09:17:20 +00:00
parent 678c74e7c1
commit cd45684d48
+2 -1
View File
@@ -363,7 +363,8 @@ bool BackgroundImpl::Layer::CreateBackground( const Song *pSong, const Backgroun
switch( ft ) switch( ft )
{ {
default: default:
ASSERT(0); // fall through LOG->Warn( "CreateBackground() Unknown file type '%s'", vsResolved[0].c_str() );
// fall through
case FT_Bitmap: case FT_Bitmap:
case FT_Movie: case FT_Movie:
sEffect = SBE_StretchNormal; sEffect = SBE_StretchNormal;