If this Steps was autogenned, there's no need to copy the description, difficulty, meter, or radar values from the parent because they will be overwritten anyway.

This commit is contained in:
Steve Checkoway
2006-08-23 21:16:46 +00:00
parent dd7871b0c6
commit ecc45eb6e7
+1
View File
@@ -344,6 +344,7 @@ void Steps::CopyFrom( Steps* pSource, StepsType ntTo, float fMusicLengthSeconds
NoteData noteData; NoteData noteData;
pSource->GetNoteData( noteData ); pSource->GetNoteData( noteData );
noteData.SetNumTracks( GameManager::StepsTypeToNumTracks(ntTo) ); noteData.SetNumTracks( GameManager::StepsTypeToNumTracks(ntTo) );
parent = NULL;
this->SetNoteData( noteData ); this->SetNoteData( noteData );
this->SetDescription( pSource->GetDescription() ); this->SetDescription( pSource->GetDescription() );
this->SetDifficulty( pSource->GetDifficulty() ); this->SetDifficulty( pSource->GetDifficulty() );