use GAMESTATE->m_fLightSongBeat

This commit is contained in:
Glenn Maynard
2005-05-04 20:37:41 +00:00
parent 16fd7077bb
commit 0cbcd2ffab
2 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -1650,8 +1650,7 @@ void ScreenGameplay::UpdateLights()
ZERO( bBlinkGameButton );
bool bCrossedABeat = false;
{
float fPositionSeconds = GAMESTATE->m_fMusicSeconds + g_fLightsAheadSeconds; // trigger the light a tiny bit early
float fSongBeat = GAMESTATE->m_pCurSong->GetBeatFromElapsedTime( fPositionSeconds );
const float fSongBeat = GAMESTATE->m_fLightSongBeat;
const int iSongRow = BeatToNoteRowNotRounded( fSongBeat );
static int iRowLastCrossed = 0;