It wasn't there! I modified the wrong place!
This commit is contained in:
@@ -682,35 +682,6 @@ void NoteData::LoadTransformed( const NoteData& in, int iNewNumTracks, const int
|
|||||||
m_TapNotes[t] = in.m_TapNotes[iOriginalTrack];
|
m_TapNotes[t] = in.m_TapNotes[iOriginalTrack];
|
||||||
bTransformedTracks[iOriginalTrack] = true;
|
bTransformedTracks[iOriginalTrack] = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// move uncopied keysound tracks and put them as autokeysound.
|
|
||||||
// someone please fix this pile of code pyramid
|
|
||||||
for( int t=0; t<in.GetNumTracks(); t++ )
|
|
||||||
{
|
|
||||||
if( !bTransformedTracks[t] )
|
|
||||||
{
|
|
||||||
FOREACH_NONEMPTY_ROW_IN_TRACK( in, t, row )
|
|
||||||
{
|
|
||||||
TapNote tn = in.GetTapNote( t, row );
|
|
||||||
if( tn.type == TapNote::autoKeysound || tn.type == TapNote::hold_head || tn.type == TapNote::tap )
|
|
||||||
{
|
|
||||||
if( tn.iKeysoundIndex >= 0 )
|
|
||||||
{
|
|
||||||
for( int i=0; i<GetNumTracks(); i++ )
|
|
||||||
{
|
|
||||||
if ( GetTapNote(i, row) == TAP_EMPTY )
|
|
||||||
{
|
|
||||||
tn.type = TapNote::autoKeysound;
|
|
||||||
tn.subType = TapNote::SubType_Invalid;
|
|
||||||
SetTapNote( i, row, tn );
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NoteData::MoveTapNoteTrack( int dest, int src )
|
void NoteData::MoveTapNoteTrack( int dest, int src )
|
||||||
|
|||||||
Reference in New Issue
Block a user