diff --git a/stepmania/src/ScreenEnding.cpp b/stepmania/src/ScreenEnding.cpp index c2d9da9129..c66d0615d7 100644 --- a/stepmania/src/ScreenEnding.cpp +++ b/stepmania/src/ScreenEnding.cpp @@ -30,7 +30,7 @@ #define TEXT_ZOOM THEME->GetMetricF("ScreenEnding","TextZoom") -CString STATS_LINE_TITLE[NUM_STATS_LINES] = { +CString STATS_LINE_TITLE[NUM_ENDING_STATS_LINES] = { "Total Calories", "Total Songs Played", "Current Combo", @@ -82,7 +82,7 @@ ScreenEnding::ScreenEnding( CString sClassName ) : ScreenAttract( sClassName, fa if( pProfile == NULL ) continue; // don't show the stats lines - for( int i=0; iGetPathToF("ScreenEnding stats title") ); m_textStatsTitle[p][i].SetText( STATS_LINE_TITLE[i] ); diff --git a/stepmania/src/ScreenEnding.h b/stepmania/src/ScreenEnding.h index d37066ad38..a5fbcbcfe2 100644 --- a/stepmania/src/ScreenEnding.h +++ b/stepmania/src/ScreenEnding.h @@ -24,9 +24,9 @@ public: private: BitmapText m_textPlayerName[NUM_PLAYERS]; -#define NUM_STATS_LINES 3 // Total calories burned, total songs played, current combo - BitmapText m_textStatsTitle[NUM_PLAYERS][NUM_STATS_LINES]; - BitmapText m_textStatsValue[NUM_PLAYERS][NUM_STATS_LINES]; +#define NUM_ENDING_STATS_LINES 3 // Total calories burned, total songs played, current combo + BitmapText m_textStatsTitle[NUM_PLAYERS][NUM_ENDING_STATS_LINES]; + BitmapText m_textStatsValue[NUM_PLAYERS][NUM_ENDING_STATS_LINES]; Sprite m_sprRemoveMemoryCard[NUM_PLAYERS]; bool m_bWaitingForRemoveCard[NUM_PLAYERS];