diff --git a/stepmania/src/GameSoundManager.cpp b/stepmania/src/GameSoundManager.cpp index dc4df31f03..f98b8779fc 100644 --- a/stepmania/src/GameSoundManager.cpp +++ b/stepmania/src/GameSoundManager.cpp @@ -591,18 +591,11 @@ void GameSoundManager::Update( float fDeltaTime ) NoteData &lights = g_Playing->m_Lights; if( lights.GetNumTracks() > 0 ) // lights data was loaded { - bool bCrossedABeat = false; - const float fSongBeat = GAMESTATE->m_fLightSongBeat; const int iSongRow = BeatToNoteRowNotRounded( fSongBeat ); static int iRowLastCrossed = 0; - float fBeatLast = roundf(NoteRowToBeat(iRowLastCrossed)); - float fBeatNow = roundf(NoteRowToBeat(iSongRow)); - - bCrossedABeat = fBeatLast != fBeatNow; - FOREACH_CabinetLight( cl ) { // for each index we crossed since the last update: