aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/screens/UScreenSing.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screens/UScreenSing.pas b/src/screens/UScreenSing.pas
index ae75c74d..9dd25cd1 100644
--- a/src/screens/UScreenSing.pas
+++ b/src/screens/UScreenSing.pas
@@ -899,9 +899,9 @@ begin
LineScore := CurrentScore - CurrentPlayer.ScoreLast;
// determine LinePerfection
- // Note: the "+2" extra points are a little bonus so the player does not
+ // Note: the "-2" extra points are a little bonus so the player does not
// have to be that perfect to reach the bonus steps.
- LinePerfection := (LineScore + 2) / MaxLineScore;
+ LinePerfection := LineScore / (MaxLineScore - 2);
// clamp LinePerfection to range [0..1]
if (LinePerfection < 0) then