aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-02-25 23:53:32 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-02-25 23:53:32 +0000
commit5a9b4134bdc9813ad7337848be7f0bfe91b079f0 (patch)
tree2af8499239b513dd2fd953457a6c05a0a70c6e13 /src/screens
parentc0659c805a2af7af7689ba90ccc264b3d5c681a3 (diff)
downloadusdx-5a9b4134bdc9813ad7337848be7f0bfe91b079f0.tar.gz
usdx-5a9b4134bdc9813ad7337848be7f0bfe91b079f0.tar.xz
usdx-5a9b4134bdc9813ad7337848be7f0bfe91b079f0.zip
does this fix the score calculation?
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1606 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/UScreenSing.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/UScreenSing.pas b/src/screens/UScreenSing.pas
index b7e6b0ec..da0dc6c9 100644
--- a/src/screens/UScreenSing.pas
+++ b/src/screens/UScreenSing.pas
@@ -888,7 +888,7 @@ begin
// apply line-bonus
CurrentPlayer.ScoreLine :=
CurrentPlayer.ScoreLine + LineBonus * LinePerfection;
- CurrentPlayer.ScoreLineInt := Round(CurrentPlayer.ScoreLine / 10) * 10;
+ CurrentPlayer.ScoreLineInt := Floor(CurrentPlayer.ScoreLine / 10) * 10;
// update total score
CurrentPlayer.ScoreTotalInt :=
CurrentPlayer.ScoreInt +