cache common metrics

This commit is contained in:
Chris Danford
2005-02-12 21:03:39 +00:00
parent 790f06aa16
commit 40c9e8fbe7
14 changed files with 90 additions and 38 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ ScreenAttract::ScreenAttract( CString sName, bool bResetGameState ) : Screen( sN
LOG->Trace( "ScreenAttract::ScreenAttract(%s)", m_sName.c_str() );
// increment times through attract count
if( m_sName == INITIAL_SCREEN )
if( m_sName == INITIAL_SCREEN.GetValue() )
GAMESTATE->m_iNumTimesThroughAttract++;
if( bResetGameState )