aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-17 14:23:38 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-17 14:23:38 +0000
commit1858dadeadf071bbc3eb16ae835fc9bd95440eab (patch)
tree78cae393a0bbd2b2a7323c1ef1626fb7ed032b98 /Game/Code/Screens
parent8c035bb950519a86c90f64aab7c58aa98089569c (diff)
downloadusdx-1858dadeadf071bbc3eb16ae835fc9bd95440eab.tar.gz
usdx-1858dadeadf071bbc3eb16ae835fc9bd95440eab.tar.xz
usdx-1858dadeadf071bbc3eb16ae835fc9bd95440eab.zip
Video Tag will now only be read when the VideoFile exists.
-> Better usability of VideoIcon git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@214 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens')
-rw-r--r--Game/Code/Screens/UScreenStatMain.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game/Code/Screens/UScreenStatMain.pas b/Game/Code/Screens/UScreenStatMain.pas
index 219ccd57..54457a6e 100644
--- a/Game/Code/Screens/UScreenStatMain.pas
+++ b/Game/Code/Screens/UScreenStatMain.pas
@@ -109,7 +109,7 @@ begin
//Set Songs with Vid
SongswithVid := 0;
For I := 0 to high(Songs.Song) do
- if (Songs.Song[I].Video <> '') AND FileExists(Songs.Song[I].Path + Songs.Song[I].Video) then
+ if (Songs.Song[I].Video <> '') then
Inc(SongswithVid);
end;