move global StageStats into a singleton
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user