diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-13 13:49:07 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2009-12-13 13:49:07 +0000 |
commit | 667a4f92bdd283249e4d7e525eeb7e7c665d1d17 (patch) | |
tree | 9983813917def3cea0e005d59891f5f7e6860190 /src/screens | |
parent | 7f37a7a60dec8ee0aa18d794b5789cc555da6036 (diff) | |
download | usdx-667a4f92bdd283249e4d7e525eeb7e7c665d1d17.tar.gz usdx-667a4f92bdd283249e4d7e525eeb7e7c665d1d17.tar.xz usdx-667a4f92bdd283249e4d7e525eeb7e7c665d1d17.zip |
fixed bug: Audio-file does not exist: "" [UAudio_FFmpeg]
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2029 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/UScreenSong.pas | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/screens/UScreenSong.pas b/src/screens/UScreenSong.pas index bd5eebe5..e43e2196 100644 --- a/src/screens/UScreenSong.pas +++ b/src/screens/UScreenSong.pas @@ -1733,6 +1733,10 @@ begin if not assigned(Song) then Exit; + //fix: if main cat than there is nothing to play + if Song.main then + Exit; + if AudioPlayback.Open(Song.Path.Append(Song.Mp3)) then begin PreviewOpened := Interaction; |