diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-02-25 23:53:32 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-02-25 23:53:32 +0000 |
commit | 5a9b4134bdc9813ad7337848be7f0bfe91b079f0 (patch) | |
tree | 2af8499239b513dd2fd953457a6c05a0a70c6e13 | |
parent | c0659c805a2af7af7689ba90ccc264b3d5c681a3 (diff) | |
download | usdx-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
-rw-r--r-- | src/screens/UScreenSing.pas | 2 |
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 + |