aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authors_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-19 17:30:15 +0000
committers_alexander <s_alexander@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-19 17:30:15 +0000
commitbc447f710b1420f3e1d181a31d7c9c040765e63b (patch)
treea3aa83772f4bffbf7dfde55be909aae4635fd678 /Game/Code
parent6db1465f89985e8675db3fdac1aa7d662dda3722 (diff)
downloadusdx-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 'Game/Code')
-rw-r--r--Game/Code/Classes/UMain.pas6
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;