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
+2 -1
View File
@@ -343,7 +343,8 @@ void Steps::CopyFrom( Steps* pSource, StepsType ntTo, float fMusicLengthSeconds
m_StepsType = ntTo;
NoteData noteData;
pSource->GetNoteData( noteData );
noteData.SetNumTracks( GameManager::StepsTypeToNumTracks(ntTo) );
noteData.SetNumTracks( GameManager::StepsTypeToNumTracks(ntTo) );
parent = NULL;
this->SetNoteData( noteData );
this->SetDescription( pSource->GetDescription() );
this->SetDifficulty( pSource->GetDifficulty() );