This commit is contained in:
Glenn Maynard
2006-11-21 18:22:20 +00:00
parent c35c72e64a
commit 4516e1378a
+1 -2
View File
@@ -566,8 +566,7 @@ void GameSoundManager::Update( float fDeltaTime )
{ {
static int iBeatLastCrossed = 0; static int iBeatLastCrossed = 0;
float fPositionSeconds = GAMESTATE->m_fMusicSeconds; float fSongBeat = GAMESTATE->m_fSongBeat;
float fSongBeat = GAMESTATE->m_pCurSong->GetBeatFromElapsedTime( fPositionSeconds );
int iRowNow = BeatToNoteRowNotRounded( fSongBeat ); int iRowNow = BeatToNoteRowNotRounded( fSongBeat );
iRowNow = max( 0, iRowNow ); iRowNow = max( 0, iRowNow );