From 5a237b4a0da9b4058e08b0db1a46e4c66277ede4 Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Sun, 28 Sep 2008 19:17:48 +0000 Subject: Fixed effects from last song are drawn in next song, see http://www.assembla.com/spaces/usdx/tickets/23 ClearScores method updated: this fixes that first sentence of song is awful if a song was sung before git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1426 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UMain.pas | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'src/base/UMain.pas') diff --git a/src/base/UMain.pas b/src/base/UMain.pas index 0c86563d..f9ac4ebe 100644 --- a/src/base/UMain.pas +++ b/src/base/UMain.pas @@ -1013,13 +1013,18 @@ procedure ClearScores(PlayerNum: integer); begin with Player[PlayerNum] do begin - Score := 0; - ScoreInt := 0; - ScoreLine := 0; - ScoreLineInt := 0; - ScoreGolden := 0; - ScoreGoldenInt := 0; + Score := 0; + ScoreLine := 0; + ScoreGolden := 0; + + ScoreInt := 0; + ScoreLineInt := 0; + ScoreGoldenInt:= 0; ScoreTotalInt := 0; + + ScoreLast := 0; + + LastSentencePerfect := False; end; end; -- cgit v1.2.3