Fix playback in editor (start the music - duh!)
Fix AutoPlay text showing in Demo, Jukebox
This commit is contained in:
@@ -1324,6 +1324,7 @@ void ScreenEdit::HandleAreaMenuChoice( AreaMenuChoice c, int* iAnswers )
|
||||
LOG->Trace( "Starting playback at %f", fStartSeconds );
|
||||
m_soundMusic.SetPlaybackRate( GAMESTATE->m_SongOptions.m_fMusicRate );
|
||||
m_soundMusic.SetPositionSeconds( fStartSeconds );
|
||||
m_soundMusic.StartPlaying();
|
||||
}
|
||||
break;
|
||||
case record:
|
||||
|
||||
@@ -399,7 +399,8 @@ ScreenGameplay::ScreenGameplay( bool bDemonstration )
|
||||
|
||||
m_textAutoPlay.LoadFromFont( THEME->GetPathTo("Fonts","header2") );
|
||||
m_textAutoPlay.SetXY( AUTOPLAY_X, AUTOPLAY_Y );
|
||||
this->AddChild( &m_textAutoPlay );
|
||||
if( !bDemonstration ) // only load if we're not in demonstration of jukebox
|
||||
this->AddChild( &m_textAutoPlay );
|
||||
UpdateAutoPlayText();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user