fix announcer playing before first note or between songs in a course
This commit is contained in:
@@ -193,7 +193,9 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration ) : Screen("ScreenGameplay")
|
||||
m_bChangedOffsetOrBPM = GAMESTATE->m_SongOptions.m_bAutoSync;
|
||||
|
||||
m_DancingState = STATE_INTRO;
|
||||
m_fTimeLeftBeforeDancingComment = SECONDS_BETWEEN_COMMENTS;
|
||||
|
||||
// Set this in LoadNextSong()
|
||||
//m_fTimeLeftBeforeDancingComment = SECONDS_BETWEEN_COMMENTS;
|
||||
|
||||
m_bZeroDeltaOnNextUpdate = false;
|
||||
|
||||
@@ -827,6 +829,10 @@ void ScreenGameplay::LoadNextSong()
|
||||
m_Background.SetDiffuse( RageColor(1,1,1,1) );
|
||||
|
||||
|
||||
|
||||
m_fTimeLeftBeforeDancingComment = GAMESTATE->m_pCurSong->m_fFirstBeat + SECONDS_BETWEEN_COMMENTS;
|
||||
|
||||
|
||||
/* m_soundMusic and m_Background take a very long time to load,
|
||||
* so cap fDelta at 0 so m_NextSongIn will show up on screen.
|
||||
* -Chris */
|
||||
|
||||
Reference in New Issue
Block a user