From 097f0ebb1621848b4e8c0c474ce948fa52f49f53 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 22 Apr 2005 21:16:55 +0000 Subject: [PATCH] fix floor lights; fix light lag --- stepmania/src/ScreenGameplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index a46f21117d..d1f2c2f0a8 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1640,7 +1640,7 @@ void ScreenGameplay::UpdateLights() FOREACH_CabinetLight( cl ) { // for each index we crossed since the last update: - FOREACH_NONEMPTY_ROW_IN_TRACK_RANGE( m_CabinetLightsNoteData, cl, r, iRowLastCrossed, iRowNow ) + FOREACH_NONEMPTY_ROW_IN_TRACK_RANGE( m_CabinetLightsNoteData, cl, r, iRowLastCrossed+1, iRowNow+1 ) { bool bBlink = (m_CabinetLightsNoteData.GetTapNote( cl, r ).type != TapNote::empty ); bBlinkCabinetLight[cl] |= bBlink; @@ -1655,7 +1655,7 @@ void ScreenGameplay::UpdateLights() for( int t=0; t