UpdateSongPositions

It is useful to have Player SongPositions update off of ScreenGameplay
for use with things like ArrowEffects.

ScreenGameplay, ScreenHowToPlay, and ScreenEdit stop GameSoundManager
from running GameState:UpdateSongPosition and do it themselves, so this
has no impact on the screen classes that cared about, and thus updated,
player SongPositions.
This commit is contained in:
sigatrev
2014-07-24 19:45:17 -05:00
committed by Jonathan Payne
parent aadf01ef98
commit 52c2801503
5 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ void ScreenHowToPlay::Update( float fDelta )
if( GAMESTATE->m_pCurSong != NULL )
{
RageTimer tm;
GAMESTATE->UpdateSongPosition( m_fFakeSecondsIntoSong, GAMESTATE->m_pCurSong->m_SongTiming, tm, true );
GAMESTATE->UpdateSongPosition( m_fFakeSecondsIntoSong, GAMESTATE->m_pCurSong->m_SongTiming, tm );
m_fFakeSecondsIntoSong += fDelta;
static int iLastNoteRowCounted = 0;