Fix F11/F12 split timing sync adjuster.

This commit is contained in:
Jason Felds
2011-06-09 18:12:38 -04:00
parent 0fa0d42549
commit 21ca14d589
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -253,7 +253,14 @@ bool ScreenSyncOverlay::OverlayInput( const InputEventPlus &input )
case ChangeSongOffset:
if( GAMESTATE->m_pCurSong != NULL )
{
GAMESTATE->m_pCurSong->m_SongTiming.m_fBeat0OffsetInSeconds += fDelta;
const vector<Steps *>& vpSteps = GAMESTATE->m_pCurSong->GetAllSteps();
FOREACH( Steps*, const_cast<vector<Steps *>&>(vpSteps), s )
{
(*s)->m_Timing.m_fBeat0OffsetInSeconds += fDelta;
}
}
break;
}
}