mute attract sounds inside of RageSound and don't mute everywhere that a sound might possibly be used in an attract screen

This commit is contained in:
Chris Danford
2005-10-03 23:54:40 +00:00
parent f02877b54f
commit a1cc399f3f
5 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -1374,7 +1374,7 @@ float ScreenGameplay::StartPlayingSong(float MinTimeToNotes, float MinTimeToMusi
p.m_StartSecond = fStartSecond;
// Silence music if not playing attract sounds in demonstration.
if( GAMESTATE->m_bDemonstrationOrJukebox && !GAMESTATE->IsTimeToPlayAttractSounds() )
if( !GAMESTATE->IsTimeToPlaySounds() )
p.m_Volume = 0;
ASSERT( !m_pSoundMusic->IsPlaying() );