Merge pull request #615 from nixtrix/previewlength2

Setting sample length for songs with preview file to 0 uses length of preview file
This commit is contained in:
Jason Felds
2015-05-18 23:11:22 -04:00
2 changed files with 90 additions and 59 deletions
+1
View File
@@ -1587,6 +1587,7 @@ void BMSSongLoader::AddToSong()
out->m_sMusicFile = main.info.musicFile;
out->m_PreviewFile= main.info.previewFile;
out->m_fMusicSampleLengthSeconds = 0.00f; // to ensure whole preview file is heard
out->m_SongTiming = main.steps->m_Timing;
}