From 8900c30e3ed137240bd196690b5d69fc7c1fbaac Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 25 Oct 2002 07:35:47 +0000 Subject: [PATCH] Don't pull off the extension from detected movies. --- stepmania/src/Song.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index c30def9045..18a21d3167 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -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) ); } }