diff --git a/stepmania/src/BGAnimation.h b/stepmania/src/BGAnimation.h index 7d935ed6f2..98e0a75b31 100644 --- a/stepmania/src/BGAnimation.h +++ b/stepmania/src/BGAnimation.h @@ -12,7 +12,7 @@ struct XNode; class BGAnimation : public ActorScroller { public: - BGAnimation( bool Generic=false ); + BGAnimation( bool Generic=true ); virtual ~BGAnimation(); void Unload(); diff --git a/stepmania/src/BGAnimationLayer.cpp b/stepmania/src/BGAnimationLayer.cpp index f8db312399..cfb0a4a9b3 100644 --- a/stepmania/src/BGAnimationLayer.cpp +++ b/stepmania/src/BGAnimationLayer.cpp @@ -74,7 +74,6 @@ void BGAnimationLayer::LoadFromAniLayerFile( const CString& sPath ) { /* Generic BGAs are new. Animation directories with no INI are old and obsolete. * Don't combine them. */ - ASSERT( !m_bGeneric ); Init(); CString lcPath = sPath; lcPath.MakeLower(); @@ -472,11 +471,6 @@ void BGAnimationLayer::LoadFromNode( const CString& sAniDir_, const XNode& layer layer.GetAttrValue( "TileVelocityY", m_fTileVelocityY ); - bool NeedTextureStretch = false; - if( m_fTexCoordVelocityX != 0 || - m_fTexCoordVelocityY != 0 ) - NeedTextureStretch = true; - switch( m_Type ) { case TYPE_SPRITE: @@ -504,7 +498,6 @@ void BGAnimationLayer::LoadFromNode( const CString& sAniDir_, const XNode& layer CollapsePath( sPath ); - ASSERT( !m_bGeneric ); for( int i=0; iGetSongDir()+sBGName, asFiles, true, true ); if( !asFiles.empty() ) { - pTempBGA = new BGAnimation; + pTempBGA = new BGAnimation( false ); pTempBGA->LoadFromAniDir( asFiles[0] ); return pTempBGA; }