From b653e5b5e7fda1f132a560c0ea0d51d283ced4b9 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Mon, 27 Jun 2011 00:03:05 -0400 Subject: [PATCH] Copy Step #ATTACKS when requested. --- Docs/Changelog_sm5.txt | 4 ++++ src/Steps.cpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Docs/Changelog_sm5.txt b/Docs/Changelog_sm5.txt index 8d6ebb820b..63b47d5b0c 100644 --- a/Docs/Changelog_sm5.txt +++ b/Docs/Changelog_sm5.txt @@ -8,6 +8,10 @@ ________________________________________________________________________________ StepMania 5.0 Preview 2 | 201106?? -------------------------------------------------------------------------------- +2011/06/27 +---------- +* [Steps] Make sure #ATTACKS are copied when requested. [Wolfman2000] + 2011/06/26 ---------- * [UnlockManager] New metric: AutoLockEditSteps. Use this to hide bonus charts diff --git a/src/Steps.cpp b/src/Steps.cpp index bc28b3654e..1b8f932020 100644 --- a/src/Steps.cpp +++ b/src/Steps.cpp @@ -369,6 +369,8 @@ void Steps::CopyFrom( Steps* pSource, StepsType ntTo, float fMusicLengthSeconds noteData.SetNumTracks( GAMEMAN->GetStepsTypeInfo(ntTo).iNumTracks ); parent = NULL; m_Timing = pSource->m_Timing; + this->m_Attacks = pSource->m_Attacks; + this->m_sAttackString = pSource->m_sAttackString; this->SetNoteData( noteData ); this->SetDescription( pSource->GetDescription() ); this->SetDifficulty( pSource->GetDifficulty() );