Make transform attacks obey Attack::fSecsRemaining.
Fix off-by-one error causing phantom "missed notes".
This commit is contained in:
@@ -507,6 +507,8 @@ void NoteDataUtil::Wide( NoteData &in, float fStartBeat, float fEndBeat )
|
||||
|
||||
in.ConvertHoldNotesTo4s();
|
||||
|
||||
/* Start on an even beat. */
|
||||
fStartBeat = froundf( fStartBeat, 2 );
|
||||
|
||||
int first_row = 0;
|
||||
if( fStartBeat != -1 )
|
||||
@@ -578,6 +580,9 @@ void NoteDataUtil::InsertIntelligentTaps( NoteData &in, float fBeatInterval, flo
|
||||
|
||||
in.ConvertHoldNotesTo4s();
|
||||
|
||||
/* Start on an integral beat. */
|
||||
fStartBeat = roundf( fStartBeat );
|
||||
|
||||
// Insert a beat in the middle of every fBeatInterval.
|
||||
|
||||
int first_row = 0;
|
||||
|
||||
Reference in New Issue
Block a user