Fixed LifeMeterBar artifacts in MAX2 and EZ2. Fixed handling of "ez2-single-hard" NotesType.

This commit is contained in:
Chris Danford
2002-09-29 18:56:54 +00:00
parent 743db5bd82
commit 23971b9c42
3 changed files with 12 additions and 7 deletions
+3 -3
View File
@@ -83,10 +83,10 @@ void NoteData::LoadFromSMNoteDataString( CString sSMNoteData )
const float fBeat = (m + fPercentIntoMeasure) * BEATS_PER_MEASURE;
const int iIndex = BeatToNoteRow( fBeat );
if( m_iNumTracks != sMeasureLine.GetLength() )
throw RageException( "Actual number of note columns (%d) is different from the NotesType (%d).", m_iNumTracks, sMeasureLine.GetLength() );
// if( m_iNumTracks != sMeasureLine.GetLength() )
// throw RageException( "Actual number of note columns (%d) is different from the NotesType (%d).", m_iNumTracks, sMeasureLine.GetLength() );
for( int c=0; c<sMeasureLine.GetLength(); c++ )
for( int c=0; c<min(sMeasureLine.GetLength(),m_iNumTracks); c++ )
m_TapNotes[c][iIndex] = sMeasureLine[c];
}
}