aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-21 14:24:37 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-21 14:24:37 +0000
commit184a1662f1498203cec9551b0407a8908f6e5e49 (patch)
treeaa11b52d75d0458987b14e403089040e9cdb266b /Game/Code/Screens
parenta213a0011fa6b09718e3363889cbb7c643e01da2 (diff)
downloadusdx-184a1662f1498203cec9551b0407a8908f6e5e49.tar.gz
usdx-184a1662f1498203cec9551b0407a8908f6e5e49.tar.xz
usdx-184a1662f1498203cec9551b0407a8908f6e5e49.zip
fixed choosing songs in "plugin" medley surprise
fixed deactivation of karaoke mode on MP3 loading git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2134 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens')
-rw-r--r--Game/Code/Screens/UScreenSong.pas9
1 files changed, 6 insertions, 3 deletions
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas
index bd4c7c87..001ff860 100644
--- a/Game/Code/Screens/UScreenSong.pas
+++ b/Game/Code/Screens/UScreenSong.pas
@@ -3131,11 +3131,14 @@ begin
begin
for I := 0 to Length(CatSongs.Song) - 1 do
begin
- if CatSongs.Song[I].Visible and (CatSongs.Song[I].Medley.Source >= MinS) and not PartyPlayedMedley(I)
+ if (CatSongs.Song[I].Medley.Source >= MinS) and not PartyPlayedMedley(I)
and not SongSkipped(I) then
begin
- SetLength(res, Length(res)+1);
- res[Length(res)-1] := I;
+ if (PlaylistMan.Mode<>0) or ((PlaylistMan.Mode=0) and CatSongs.Song[I].Visible) then
+ begin
+ SetLength(res, Length(res)+1);
+ res[Length(res)-1] := I;
+ end;
end;
end;
end else