diff --git a/src/HighScore.cpp b/src/HighScore.cpp index 6f443f775b..28f6e42bf5 100644 --- a/src/HighScore.cpp +++ b/src/HighScore.cpp @@ -373,7 +373,6 @@ void HighScoreImpl::LoadFromEttNode(const XNode *pNode) { pNode->GetChildValue("Modifiers", s); sModifiers = s; pNode->GetChildValue("DateTime", s); dateTime.FromString(s); pNode->GetChildValue("ScoreKey", s); ScoreKey = s; - pNode->GetChildValue("TopScore", TopScore); const XNode* pTapNoteScores = pNode->GetChild("TapNoteScores"); if (pTapNoteScores) @@ -727,6 +726,7 @@ float HighScore::GetSkillsetSSR(Skillset ss) const { return m_Impl->fSkillsetSSR const RadarValues &HighScore::GetRadarValues() const { return m_Impl->radarValues; } float HighScore::GetLifeRemainingSeconds() const { return m_Impl->fLifeRemainingSeconds; } bool HighScore::GetDisqualified() const { return m_Impl->bDisqualified; } +int HighScore::GetTopScore() const { return m_Impl->TopScore; } void HighScore::SetName( const string &sName ) { m_Impl->sName = sName; } void HighScore::SetChartKey( const string &ck) { m_Impl->ChartKey = ck; } diff --git a/src/HighScore.h b/src/HighScore.h index 0c3c7cdb5b..28a04a57c4 100644 --- a/src/HighScore.h +++ b/src/HighScore.h @@ -51,6 +51,7 @@ struct HighScore vector GetOffsetVector() const; vector GetNoteRowVector() const; string GetScoreKey() const; + int GetTopScore() const; /** * @brief Determine how many seconds the player had left in Survival mode. * @return the number of seconds left. */