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
+4 -1
View File
@@ -1647,8 +1647,11 @@ bool GameState::OneIsHot() const
return false;
}
bool GameState::IsTimeToPlayAttractSounds() const
bool GameState::IsTimeToPlaySounds() const
{
if( !GAMESTATE->m_bDemonstrationOrJukebox )
return true;
// m_iNumTimesThroughAttract will be -1 from the first attract screen after
// the end of a game until the next time FIRST_ATTRACT_SCREEN is reached.
// Play attract sounds for this sort span of time regardless of