fit noholds

This commit is contained in:
Chris Danford
2003-11-11 08:25:32 +00:00
parent 0457c62c03
commit 5a88d937d6
+1 -1
View File
@@ -263,7 +263,7 @@ float NoteDataUtil::GetChaosRadarValue( const NoteData &in, float fSongSeconds )
void NoteDataUtil::RemoveHoldNotes(NoteData &in, float fStartBeat, float fEndBeat)
{
// turn all the HoldNotes into TapNotes
for( int i=in.GetNumHoldNotes()-1; i>=0; i++ ) // iterate backwards so we can delete
for( int i=in.GetNumHoldNotes()-1; i>=0; i-- ) // iterate backwards so we can delete
{
const HoldNote hn = in.GetHoldNote(i);