[Song] Fixed a bug where a sample start of 0 wouldn't work.

This commit is contained in:
AJ Kelly
2011-12-23 02:54:51 -06:00
parent a218deb9d4
commit 842810c0dd
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ void Song::TidyUpData( bool fromCache, bool duringCache )
TranslateTitles();
if( m_fMusicSampleStartSeconds == -1 ||
m_fMusicSampleStartSeconds == 0 ||
m_fMusicSampleLengthSeconds == 0 ||
m_fMusicSampleStartSeconds+m_fMusicSampleLengthSeconds > this->m_fMusicLengthSeconds )
{
const TimingData &timing = this->m_SongTiming;