From 8fef7be08d5b80e6520a5ce95e0d812546cc1f74 Mon Sep 17 00:00:00 2001 From: Ben Anderson Date: Tue, 7 Jun 2005 13:32:35 +0000 Subject: [PATCH] We just changed the song; update sync data. Fixes assert entering jukebox mode. --- stepmania/src/ScreenJukebox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/ScreenJukebox.cpp b/stepmania/src/ScreenJukebox.cpp index 40f3bf1b97..2015035c1e 100644 --- a/stepmania/src/ScreenJukebox.cpp +++ b/stepmania/src/ScreenJukebox.cpp @@ -94,6 +94,8 @@ void ScreenJukebox::SetSong() // Found something we can use! GAMESTATE->m_pCurSong.Set( pSong ); + // We just changed the song. Reset the original sync data. + GAMESTATE->ResetOriginalSyncData(); FOREACH_PlayerNumber( p ) GAMESTATE->m_pCurSteps[p].Set( pSteps );