Fix playback in editor (start the music - duh!)

Fix AutoPlay text showing in Demo, Jukebox
This commit is contained in:
Chris Danford
2003-03-13 08:47:43 +00:00
parent 28af4a9447
commit 195cd01db5
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -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:
+2 -1
View File
@@ -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();