split this loop apart (working on eliminating brute-force search)

This commit is contained in:
Glenn Maynard
2004-12-03 23:33:06 +00:00
parent 08cb05e345
commit 2243ffa37c
+4
View File
@@ -1566,6 +1566,10 @@ void ScreenGameplay::UpdateLights()
bool bBlink = (m_CabinetLightsNoteData.GetTapNote( cl, r ).type != TapNote::empty );
bBlinkCabinetLight[cl] |= bBlink;
}
}
for( int r=iRowLastCrossed+1; r<=iRowNow; r++ ) // for each index we crossed since the last update
{
FOREACH_EnabledPlayer( pn )
{
for( int t=0; t<m_Player[pn].m_NoteData.GetNumTracks(); t++ )