aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-09 17:44:12 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-09 17:44:12 +0000
commit00a4cc524dc2d60c95970def337155b7b57fb4ce (patch)
tree3006dc59a9a8e7d470a001954a603cc0e24348d9 /Game/Code/Screens
parent48e9a9faea54c6fa5b2b98e242444ae4c0183a7a (diff)
downloadusdx-00a4cc524dc2d60c95970def337155b7b57fb4ce.tar.gz
usdx-00a4cc524dc2d60c95970def337155b7b57fb4ce.tar.xz
usdx-00a4cc524dc2d60c95970def337155b7b57fb4ce.zip
Fixed a bug in UScreenSong that causes a little gap between lyrics and Singing in UScreenSing
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@185 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenSong.pas5
1 files changed, 3 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas
index 3f733210..114c52a3 100644
--- a/Game/Code/Screens/UScreenSong.pas
+++ b/Game/Code/Screens/UScreenSong.pas
@@ -1220,7 +1220,8 @@ end;
procedure TScreenSong.onHide;
begin
//When hide then Stop Music (For Party Mode Popup on Exit)
- Music.Stop;
+ if (Display.NextScreen <> @ScreenSing) and (Display.NextScreen <> @ScreenSingModi) then
+ Music.Stop;
end;
procedure TScreenSong.DrawExtensions;
@@ -1650,7 +1651,7 @@ end;
procedure TScreenSong.StartSong;
begin
CatSongs.Selected := Interaction;
- //Music.Stop;
+ Music.Stop;
//Party Mode
if (Mode = 1) then
begin