Write radar values for edits. If the program loading them doesn't trust the values, then it can ignore the values

This commit is contained in:
Chris Danford
2006-04-04 21:42:21 +00:00
parent e3bd1698d3
commit 955ccd8699
2 changed files with 5 additions and 2 deletions
+1 -2
View File
@@ -170,9 +170,8 @@ RString NotesWriterSM::GetSMNotesTag( const Song &song, const Steps &in, bool bS
lines.push_back( ssprintf( " %s:", DifficultyToString(in.GetDifficulty()).c_str() ) );
lines.push_back( ssprintf( " %d:", in.GetMeter() ) );
int MaxRadar = bSavingCache? NUM_RadarCategory:5;
vector<RString> asRadarValues;
for( int r=0; r < MaxRadar; r++ )
for( int r=0; r < NUM_RadarCategory; r++ )
asRadarValues.push_back( ssprintf("%.3f", in.GetRadarValues()[r]) );
/* Don't append a newline here; it's added in NoteDataUtil::GetSMNoteDataString.
* If we add it here, then every time we write unmodified data we'll add an extra