Setting sample length for songs with preview file to 0 uses length of preview file

This commit is contained in:
Joe
2015-05-15 15:46:20 +01:00
parent 3df07863f5
commit d3e866db26
2 changed files with 90 additions and 59 deletions
+1
View File
@@ -1588,6 +1588,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;
}