Missing a music file is no longer a fatal error.

This commit is contained in:
Chris Danford
2002-09-16 00:56:30 +00:00
parent a650641426
commit 326b1d4df0
8 changed files with 42 additions and 17 deletions
+1 -1
View File
@@ -771,7 +771,7 @@ void ScreenSelectMusic::PlayMusicSample()
//LOG->Trace( "ScreenSelectSong::PlaySONGample()" );
Song* pSong = m_MusicWheel.GetSelectedSong();
if( pSong )
if( pSong && pSong->HasMusic() )
{
MUSIC->Stop();
MUSIC->Load( pSong->GetMusicPath() );