From ecc45eb6e7d724b8ab176a1c6082700dba7128b5 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Wed, 23 Aug 2006 21:16:46 +0000 Subject: [PATCH] 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. --- stepmania/src/Steps.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/Steps.cpp b/stepmania/src/Steps.cpp index 16c7334054..9d36e54e1d 100644 --- a/stepmania/src/Steps.cpp +++ b/stepmania/src/Steps.cpp @@ -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() );