diff --git a/stepmania/src/ScreenEvaluation.cpp b/stepmania/src/ScreenEvaluation.cpp index 539f5b77b1..67cb86af99 100644 --- a/stepmania/src/ScreenEvaluation.cpp +++ b/stepmania/src/ScreenEvaluation.cpp @@ -906,7 +906,7 @@ void ScreenEvaluation::Input( const InputEventPlus &input ) if( input.GameI.IsValid() ) { PlayerNumber pn = GAMESTATE->GetCurrentStyle()->ControllerToPlayerNumber( input.GameI.controller ); - HighScore &hs = m_HighScore[pn]; + const HighScore &hs = STATSMAN->m_CurStageStats.m_player[pn].m_HighScore; if( CodeDetector::EnteredCode(input.GameI.controller, CODE_SAVE_SCREENSHOT1) || diff --git a/stepmania/src/ScreenEvaluation.h b/stepmania/src/ScreenEvaluation.h index 456ab25d88..1c430e9710 100644 --- a/stepmania/src/ScreenEvaluation.h +++ b/stepmania/src/ScreenEvaluation.h @@ -12,7 +12,6 @@ #include "DifficultyMeter.h" #include "PercentageDisplay.h" #include "ActorUtil.h" -#include "HighScore.h" #include "RageSound.h" const int MAX_SONGS_TO_SHOW = 5; // In summary, we show last 3 stages, plus extra stages if passed @@ -103,7 +102,6 @@ protected: RageSound m_soundStart; // sound played if the player passes or fails - HighScore m_HighScore[NUM_PLAYERS]; bool m_bSavedScreenshot[NUM_PLAYERS]; };