Add m_ to StageStats and PlayerStageStats members. There are several methods of these classes with local variable names that are similar to the member names. m_ helps distinguish between those two types.
This commit is contained in:
@@ -53,8 +53,8 @@ void ScoreDisplayAliveTime::UpdateNumber()
|
||||
ASSERT( m_PlayerNumber != PLAYER_INVALID );
|
||||
if( GAMESTATE->IsPlayerEnabled(m_PlayerNumber) )
|
||||
fSecsIntoPlay =
|
||||
STATSMAN->GetAccumPlayedStageStats().m_player[m_PlayerNumber].fAliveSeconds +
|
||||
STATSMAN->m_CurStageStats.m_player[m_PlayerNumber].fAliveSeconds;
|
||||
STATSMAN->GetAccumPlayedStageStats().m_player[m_PlayerNumber].m_fAliveSeconds +
|
||||
STATSMAN->m_CurStageStats.m_player[m_PlayerNumber].m_fAliveSeconds;
|
||||
|
||||
SetText( SecondsToMMSSMsMs(fSecsIntoPlay) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user