add a comment and hopefully someone can explain why -2000 is used as the limit for m_fSongBeat

This commit is contained in:
AJ Kelly
2012-02-19 13:45:00 -06:00
parent bb03bcc8f1
commit 95291b15e8
+1
View File
@@ -14,6 +14,7 @@ void SongPosition::UpdateSongPosition( float fPositionSeconds, const TimingData
timing.GetBeatAndBPSFromElapsedTime( fPositionSeconds, m_fSongBeat, m_fCurBPS, m_bFreeze, m_bDelay, m_iWarpBeginRow, m_fWarpDestination );
// "Crash reason : -243478.890625 -48695.773438"
// The question is why is -2000 used as the limit? -aj
ASSERT_M( m_fSongBeat > -2000, ssprintf("Song beat %f at %f seconds is less than -2000!", m_fSongBeat, fPositionSeconds) );
m_fMusicSeconds = fPositionSeconds;