simplify TapAttack storage:
store attack info in TapNote in the SMNoteData string, store the attack params inline (like with keysounds) play keysounds when hit still doesn't play keysounds on a miss still doesn't play autoKeysounds
This commit is contained in:
@@ -324,10 +324,10 @@ void Song::DeleteDuplicateSteps( vector<Steps*> &vSteps )
|
||||
if( s1->GetMeter() != s2->GetMeter() )
|
||||
continue;
|
||||
/* Compare, ignoring whitespace. */
|
||||
CString sSMNoteData1, sSMAttackData1;
|
||||
s1->GetSMNoteData( sSMNoteData1, sSMAttackData1 );
|
||||
CString sSMNoteData2, sSMAttackData2;
|
||||
s2->GetSMNoteData( sSMNoteData2, sSMAttackData2 );
|
||||
CString sSMNoteData1;
|
||||
s1->GetSMNoteData( sSMNoteData1 );
|
||||
CString sSMNoteData2;
|
||||
s2->GetSMNoteData( sSMNoteData2 );
|
||||
if( RemoveInitialWhitespace(sSMNoteData1) != RemoveInitialWhitespace(sSMNoteData2) )
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user