Move the reset code to SongPosition.

This commit is contained in:
Thai Pangsakulyanont
2011-05-10 21:22:01 +07:00
parent 722d22dffc
commit b8a4521f9c
4 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -618,7 +618,7 @@ float FindFirstDisplayedBeat( const PlayerState* pPlayerState, int iDrawDistance
bBoomerang = (fAccels[PlayerOptions::ACCEL_BOOMERANG] != 0);
}
while( fFirstBeatToDraw < m_pPlayerState->m_Position.m_fSongBeat )
while( fFirstBeatToDraw < pPlayerState->m_Position.m_fSongBeat )
{
bool bIsPastPeakYOffset;
float fPeakYOffset;