Prevent overlapping assist tick sounds

This commit is contained in:
sukibaby
2024-07-30 01:54:17 -07:00
committed by teejusb
parent 10e4323e3e
commit e34450fbe8
+5
View File
@@ -43,8 +43,13 @@ void GameplayAssist::PlayTicks( const NoteData &nd, const PlayerState *ps )
int iClapRow = -1;
// for each index we crossed since the last update:
FOREACH_NONEMPTY_ROW_ALL_TRACKS_RANGE( nd, r, iRowLastCrossed+1, iSongRow+1 )
{
if( nd.IsThereATapOrHoldHeadAtRow( r ) )
{
iClapRow = r;
break;
}
}
if( iClapRow != -1 && timing.IsJudgableAtRow(iClapRow))
{