Skip to content

Commit

Permalink
fix stupid error in the gethighestskillsetallsteps function
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jan 13, 2017
1 parent 86fcf9d commit bcae636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Song.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1736,7 +1736,7 @@ float Song::GetHighestSkillsetAllSteps(int x) {
float o = 0.f;
vector<Steps*> vsteps = GetAllSteps();
FOREACH(Steps*, vsteps, steps)
if ((*steps)->GetMSD(1, x) > 0.f)
if ((*steps)->GetMSD(1, x) > o)
o = (*steps)->GetMSD(1, x);
return o;
}
Expand Down

0 comments on commit bcae636

Please sign in to comment.