Warn on bad backgrounds.
This commit is contained in:
@@ -363,7 +363,8 @@ bool BackgroundImpl::Layer::CreateBackground( const Song *pSong, const Backgroun
|
||||
switch( ft )
|
||||
{
|
||||
default:
|
||||
ASSERT(0); // fall through
|
||||
LOG->Warn( "CreateBackground() Unknown file type '%s'", vsResolved[0].c_str() );
|
||||
// fall through
|
||||
case FT_Bitmap:
|
||||
case FT_Movie:
|
||||
sEffect = SBE_StretchNormal;
|
||||
|
||||
Reference in New Issue
Block a user