Skip to content

Commit

Permalink
dont bother trying to calc ssrs for under .1% scores
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Dec 30, 2016
1 parent 337618f commit 6f83788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PlayerStageStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ float PlayerStageStats::GetWifeScore() const {
return m_fWifeScore;
}
vector<float> PlayerStageStats::CalcSSR() const {
vector<float> o = { 0.f, 0.f, 0.f,0.f };
if (GetGrade() == Grade_Failed)
vector<float> o = { 0.f, 0.f, 0.f,0.f,0.f };
if (GetGrade() == Grade_Failed || m_fWifeScore < 0.1f )
return o ;

FOREACHM_CONST(float, float, m_fLifeRecord, fail)
Expand Down

0 comments on commit 6f83788

Please sign in to comment.