diff options
author | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-28 19:17:48 +0000 |
---|---|---|
committer | whiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-28 19:17:48 +0000 |
commit | 5a237b4a0da9b4058e08b0db1a46e4c66277ede4 (patch) | |
tree | 3f6086b8d50ce30d2470f94d810c375556bbd4e3 /src/base | |
parent | 276411ffc65aa73fce9fdc1bec7555d6df76357c (diff) | |
download | usdx-5a237b4a0da9b4058e08b0db1a46e4c66277ede4.tar.gz usdx-5a237b4a0da9b4058e08b0db1a46e4c66277ede4.tar.xz usdx-5a237b4a0da9b4058e08b0db1a46e4c66277ede4.zip |
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
Diffstat (limited to 'src/base')
-rw-r--r-- | src/base/UMain.pas | 17 |
1 files changed, 11 insertions, 6 deletions
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; |