some MFCisms to STLisms (both currently work on CArray)

This commit is contained in:
Glenn Maynard
2002-10-24 19:53:13 +00:00
parent feefd5bf9d
commit d5b1f36775
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ bool BMSLoader::LoadFromBMSFile( const CString &sPath, Notes &out )
// valuename, sNoteData, iMeasureNo, iNoteNum, iNumNotesInThisMeasure );
for( int j=0; j<iNumNotesInThisMeasure; j++ )
{
if( arrayNotes.GetAt(j) == TRUE )
if( arrayNotes[j] )
{
float fPercentThroughMeasure = (float)j/(float)iNumNotesInThisMeasure;