fix attract sound frequency if initial screen not in attract loop

This commit is contained in:
Chris Danford
2005-06-11 11:25:34 +00:00
parent 386de4e74c
commit f7c6023412
3 changed files with 19 additions and 5 deletions
+1 -3
View File
@@ -27,9 +27,7 @@ ScreenAttract::ScreenAttract( CString sName, bool bResetGameState ) : ScreenWith
if( bResetGameState )
GAMESTATE->Reset();
// increment times through attract count
if( INITIAL_SCREEN == m_sName )
GAMESTATE->m_iNumTimesThroughAttract++;
GAMESTATE->VisitAttractScreen( sName );
}
void ScreenAttract::Init()