File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -810,6 +810,7 @@ XNode* HighScore::CreateEttNode() const
810
810
return m_Impl->CreateEttNode ();
811
811
}
812
812
813
+ // Used for importing from stats.xml -mina
813
814
void HighScore::LoadFromNode ( const XNode* pNode )
814
815
{
815
816
m_Impl->LoadFromNode ( pNode );
@@ -835,9 +836,20 @@ void HighScore::LoadFromNode( const XNode* pNode )
835
836
}
836
837
}
837
838
839
+ // Used to load from etterna.xml -mina
838
840
void HighScore::LoadFromEttNode (const XNode* pNode)
839
841
{
840
842
m_Impl->LoadFromEttNode (pNode);
843
+
844
+ if (m_Impl->fSSRNormPercent > 1000 .f ) {
845
+ if (m_Impl->grade != Grade_Failed)
846
+ m_Impl->fSSRNormPercent = RescoreToWifeJudgeDuringLoad (4 );
847
+ else
848
+ m_Impl->fSSRNormPercent = m_Impl->fWifeScore ;
849
+
850
+ m_Impl->vNoteRowVector .clear ();
851
+ m_Impl->vOffsetVector .clear ();
852
+ }
841
853
}
842
854
843
855
string HighScore::GetDisplayName () const
You can’t perform that action at this time.
0 commit comments