Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/xwidghet/stepmania
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jan 22, 2017
2 parents 749ae14 + de405af commit 36f09e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Profile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,7 @@ SongID Profile::GetTopSSRSongID(unsigned int rank, int skillset) {
if (rank <= 0)
rank = 1;
if (rank > static_cast<unsigned int>(topSSRSongIds[skillset].size()))
if (CalcAllTopSSRs(rank) == false) {
if (CalcTopSSRs(rank, skillset) == false) {
SongID emptySongID;
return emptySongID;
}
Expand All @@ -2243,7 +2243,7 @@ StepsID Profile::GetTopSSRStepsID(unsigned int rank, int skillset) {
if (rank <= 0)
rank = 1;
if (rank > static_cast<unsigned int>(topSSRStepIds[skillset].size()))
if (CalcAllTopSSRs(rank) == false) {
if (CalcTopSSRs(rank, skillset) == false) {
StepsID emptyStepID;
return emptyStepID;
}
Expand All @@ -2259,7 +2259,7 @@ HighScore* Profile::GetTopSSRHighScore(unsigned int rank, int skillset) {
if (rank <= 0)
rank = 1;
if (rank > static_cast<unsigned int>(topSSRHighScoreLists[skillset].size()))
if (CalcAllTopSSRs(rank) == false)
if (CalcTopSSRs(rank, skillset) == false)
return NULL;

if (skillset >= 0 && skillset < NUM_Skillset) {
Expand Down

0 comments on commit 36f09e9

Please sign in to comment.