Cleanup.
This commit is contained in:
@@ -370,19 +370,18 @@ void NoteDataUtil::GetSMNoteDataString( const NoteData &in_, RString ¬es_out
|
|||||||
default:
|
default:
|
||||||
FAIL_M( ssprintf("tn %i", tn.type) ); // invalid enum value
|
FAIL_M( ssprintf("tn %i", tn.type) ); // invalid enum value
|
||||||
}
|
}
|
||||||
sRet.append(1, c);
|
sRet.append( 1, c );
|
||||||
|
|
||||||
if( tn.type == TapNote::attack )
|
if( tn.type == TapNote::attack )
|
||||||
{
|
{
|
||||||
sRet.append( ssprintf("{%s:%.2f}",tn.sAttackModifiers.c_str(), tn.fAttackDurationSeconds) );
|
sRet.append( ssprintf("{%s:%.2f}", tn.sAttackModifiers.c_str(),
|
||||||
|
tn.fAttackDurationSeconds) );
|
||||||
}
|
}
|
||||||
if( tn.bKeysound )
|
if( tn.bKeysound )
|
||||||
{
|
|
||||||
sRet.append( ssprintf("[%d]",tn.iKeysoundIndex) );
|
sRet.append( ssprintf("[%d]",tn.iKeysoundIndex) );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
sRet.append(1, '\n');
|
sRet.append( 1, '\n' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user