diff --git a/stepmania/src/BeginnerHelper.cpp b/stepmania/src/BeginnerHelper.cpp index 01c266a4b0..8dab184e61 100644 --- a/stepmania/src/BeginnerHelper.cpp +++ b/stepmania/src/BeginnerHelper.cpp @@ -30,7 +30,7 @@ BeginnerHelper::BeginnerHelper() LOG->Trace("BeginnerHelper::BeginnerHelper()"); m_bFlashEnabled = false; m_bInitialized = false; - m_fLastBeatChecked = 0; + m_iLastRowChecked = 0; this->AddChild(&m_sBackground); } @@ -246,8 +246,8 @@ void BeginnerHelper::Update( float fDeltaTime ) if(!m_bInitialized) return; - // the beat we want to check on this update - float fCurBeat = GAMESTATE->m_fSongBeat + 0.4f; + // the row we want to check on this update + int iCurRow = BeatToNoteRowNotRounded(GAMESTATE->m_fSongBeat + 0.4f); for(int pn = 0; pn < NUM_PLAYERS; pn++ ) { @@ -256,13 +256,13 @@ void BeginnerHelper::Update( float fDeltaTime ) if( (m_NoteData[pn].IsThereATapAtRow( BeatToNoteRowNotRounded((GAMESTATE->m_fSongBeat+0.01f)) ) ) ) FlashOnce(); - for(float fBeat=m_fLastBeatChecked; fBeat