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) ); } }