Don't pull off the extension from detected movies.

This commit is contained in:
Glenn Maynard
2002-10-25 07:35:47 +00:00
parent 6fc73af64b
commit 8900c30e3e
+1 -5
View File
@@ -515,16 +515,12 @@ void Song::TidyUpData()
{
CString sBGMovieFile = arrayPossibleMovies[0];
// strip off extension from file name
CString sDir, sFName, sExt;
splitrelpath( sBGMovieFile, sDir, sFName, sExt );
// calculate start beat of music
float fMusicStartBeat, fBPS;
bool bFreeze;
this->GetBeatAndBPSFromElapsedTime( -this->m_fBeat0OffsetInSeconds, fMusicStartBeat, fBPS, bFreeze );
this->AddBackgroundChange( BackgroundChange(fMusicStartBeat,sFName) );
this->AddBackgroundChange( BackgroundChange(fMusicStartBeat,sBGMovieFile) );
}
}