aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenSing.pas
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-10 14:48:56 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-10 14:48:56 +0000
commit0cf452b6cb8efaf90f8bdda6636bdabbb71d52b6 (patch)
treea869201883cc1cd4f39918daf67b979c3f51677a /Game/Code/Screens/UScreenSing.pas
parent44f53ae73531b0570aef1ac1adf47a146c114a49 (diff)
downloadusdx-0cf452b6cb8efaf90f8bdda6636bdabbb71d52b6.tar.gz
usdx-0cf452b6cb8efaf90f8bdda6636bdabbb71d52b6.tar.xz
usdx-0cf452b6cb8efaf90f8bdda6636bdabbb71d52b6.zip
- fixed saving duets
- rewrite of DivideSentence and JoinSentence for duet mode - rewrite of DivideNote for duet mode - fixed score calculation for P2 - added more functions to the menu - update of language files git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2473 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens/UScreenSing.pas')
-rw-r--r--Game/Code/Screens/UScreenSing.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenSing.pas b/Game/Code/Screens/UScreenSing.pas
index fb242285..06cb048c 100644
--- a/Game/Code/Screens/UScreenSing.pas
+++ b/Game/Code/Screens/UScreenSing.pas
@@ -1695,7 +1695,8 @@ begin
//PhrasenBonus give Points
Player[I].ScoreLine := Player[I].ScoreLine +
- (1000 / (Length(Czesci[CP].Czesc) - NumEmptySentences[I mod 2]) * A / 8);
+ (1000 / (Length(Czesci[CP].Czesc) - NumEmptySentences[CP]) * A / 8);
+
Player[I].ScoreLineI := Round(Player[I].ScoreLine / 10) * 10;
//Update Total Score
Player[I].ScoreTotalI := Player[I].ScoreI + Player[I].ScoreGoldenI + Player[I].ScoreLineI;