diff options
author | s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-04-19 17:30:15 +0000 |
---|---|---|
committer | s_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-04-19 17:30:15 +0000 |
commit | bc447f710b1420f3e1d181a31d7c9c040765e63b (patch) | |
tree | a3aa83772f4bffbf7dfde55be909aae4635fd678 /Game/Code/Classes | |
parent | 6db1465f89985e8675db3fdac1aa7d662dda3722 (diff) | |
download | usdx-bc447f710b1420f3e1d181a31d7c9c040765e63b.tar.gz usdx-bc447f710b1420f3e1d181a31d7c9c040765e63b.tar.xz usdx-bc447f710b1420f3e1d181a31d7c9c040765e63b.zip |
fixed calulation of points
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1025 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UMain.pas | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas index f5e1250f..fef2ff31 100644 --- a/Game/Code/Classes/UMain.pas +++ b/Game/Code/Classes/UMain.pas @@ -962,10 +962,8 @@ begin MaxPoints := 9000; case Lines[0].Line[S].Note[Count].NoteType of - ntNormal: Player[CP].Score := Player[CP].Score + MaxPoints / Lines[0].ScoreValue * - Lines[0].Line[S].Note[Count].Length; - ntGolden: Player[CP].ScoreGolden := Player[CP].ScoreGolden + MaxPoints / Lines[0].ScoreValue * - (Lines[0].Line[S].Note[Count].Length * 2); + ntNormal: Player[CP].Score := Player[CP].Score + MaxPoints / Lines[0].ScoreValue; + ntGolden: Player[CP].ScoreGolden := Player[CP].ScoreGolden + MaxPoints / Lines[0].ScoreValue; end; Player[CP].ScoreI := Floor(Player[CP].Score / 10) * 10; |