From bc447f710b1420f3e1d181a31d7c9c040765e63b Mon Sep 17 00:00:00 2001 From: s_alexander Date: Sat, 19 Apr 2008 17:30:15 +0000 Subject: fixed calulation of points git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1025 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Classes/UMain.pas | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Game') 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; -- cgit v1.2.3