Fixed "Create from AutoGen" function in ScreenEditMenu.

This commit is contained in:
Chris Danford
2003-02-10 05:49:22 +00:00
parent 7a810c1378
commit 24d88b979f
2 changed files with 4 additions and 10 deletions
+1 -8
View File
@@ -269,14 +269,7 @@ void Notes::BakeAutoGen()
{
NoteData noteData;
parent->GetNoteData( &noteData );
this->SetNoteData( &noteData );
this->SetDescription( "AutoGen'd from "+parent->GetDescription() );
this->SetDifficulty( parent->GetDifficulty() );
this->SetMeter( parent->GetMeter() );
const float* radarValues = parent->GetRadarValues();
for( int r=0; r<NUM_RADAR_CATEGORIES; r++ )
this->SetRadarValue( (RadarCategory)r, radarValues[r] );
this->SetNoteData( &noteData ); // this will call DeAutoGen
parent = NULL;
}