move global StageStats into a singleton

This commit is contained in:
Chris Danford
2005-02-16 03:25:45 +00:00
parent 6cb8d3fe64
commit bb712884bb
30 changed files with 421 additions and 300 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ void ScoreDisplayCalories::PlayCommand( const CString &sCommandName )
{
if( sCommandName == m_sMessageOnStep )
{
float fCals = g_CurStageStats.m_player[m_PlayerNumber].fCaloriesBurned;
float fCals = STATSMAN->m_CurStageStats.m_player[m_PlayerNumber].fCaloriesBurned;
this->SetTargetNumber( fCals );
}