fixed missing autokeysounds when they are inserted on the tail of a hold note (they are removed)

This commit is contained in:
Thai Pangsakulyanont
2011-03-18 12:25:20 +07:00
parent 57fbdab648
commit c2fe12120c
+1 -1
View File
@@ -748,7 +748,7 @@ static bool LoadFromBMSFile( const RString &sPath, const NameToData_t &mapNameTo
int iEmptyTrack = -1;
for( int i=0; i<iNumNewTracks; i++ )
{
if ( ndNotes.GetTapNote(iTransformNewToOld[i], row) == TAP_EMPTY )
if ( ndNotes.GetTapNote(iTransformNewToOld[i], row) == TAP_EMPTY && !ndNotes.IsHoldNoteAtRow(iTransformNewToOld[i], row) )
{
iEmptyTrack = iTransformNewToOld[i];
break;