From a6a7f942525bd42aa3e59ef4dfac71493468b561 Mon Sep 17 00:00:00 2001 From: brunzelchen Date: Tue, 14 Dec 2010 16:26:07 +0000 Subject: - fixed perfect note effect for duets - fixed sorting by year (wrong decade) - fixed double party score on last round - added shortcut to options screen "O" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2759 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Game/Code/Classes/USongs.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Game/Code/Classes/USongs.pas') diff --git a/Game/Code/Classes/USongs.pas b/Game/Code/Classes/USongs.pas index f21deb69..593c4943 100644 --- a/Game/Code/Classes/USongs.pas +++ b/Game/Code/Classes/USongs.pas @@ -776,7 +776,7 @@ begin begin I := Songs.SongSort[S].Year; if (I <> -1) then - tempstr := IntToStr(Round(I/10)*10) + '-' + IntToStr(Round(I/10)*10+9) + tempstr := IntToStr(Trunc(I/10)*10) + '-' + IntToStr(Trunc(I/10)*10+9) else tempstr := 'undefined'; -- cgit v1.2.3