From f703eb192dce8d90ce09e6d92892fd788b4af3b7 Mon Sep 17 00:00:00 2001 From: brunzelchen Date: Mon, 21 Dec 2009 11:28:12 +0000 Subject: fixed calculation of FadeIn and FadeOut git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2052 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Medley/src/base/USong.pas | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Medley/src') diff --git a/Medley/src/base/USong.pas b/Medley/src/base/USong.pas index 38ddaaf6..5d0f9a23 100644 --- a/Medley/src/base/USong.pas +++ b/Medley/src/base/USong.pas @@ -1181,11 +1181,9 @@ begin self.Medley.Source := msTag; //calculate fade time - self.Medley.FadeIn_time := GetTimeFromBeat(CurrentSong.Medley.StartBeat) - - DEFAULT_FADE_IN_TIME; + self.Medley.FadeIn_time := DEFAULT_FADE_IN_TIME; - self.Medley.FadeOut_time := GetTimeFromBeat(CurrentSong.Medley.FadeOut) - - DEFAULT_FADE_OUT_TIME; + self.Medley.FadeOut_time := DEFAULT_FADE_OUT_TIME; end else self.Medley.Source := msNone; end; -- cgit v1.2.3