From 4802ea678f2ab51416ea9e45598d9af7eb316f41 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Thu, 26 May 2011 15:10:22 -0400 Subject: [PATCH] Storing original timing data seems fine. Let's see what's next... --- src/AdjustSync.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/AdjustSync.cpp b/src/AdjustSync.cpp index a6f7d5e580..9afe8e8b06 100644 --- a/src/AdjustSync.cpp +++ b/src/AdjustSync.cpp @@ -71,6 +71,12 @@ void AdjustSync::ResetOriginalSyncData() s_vpTimingDataOriginal.clear(); s_vpTimingDataOriginal.push_back(&GAMESTATE->m_pCurSong->m_SongTiming); // Loop through the steps. + const vector& vpSteps = GAMESTATE->m_pCurSong->GetAllSteps(); + FOREACH( Steps*, const_cast&>(vpSteps), s ) + { + // the size will be original song + each step. + s_vpTimingDataOriginal.push_back(&(*s)->m_Timing); + } } else {