aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Menu
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Menu')
-rw-r--r--Game/Code/Menu/UMenu.pas11
1 files changed, 3 insertions, 8 deletions
diff --git a/Game/Code/Menu/UMenu.pas b/Game/Code/Menu/UMenu.pas
index 6a5cb0ff..edaeaab4 100644
--- a/Game/Code/Menu/UMenu.pas
+++ b/Game/Code/Menu/UMenu.pas
@@ -307,7 +307,7 @@ begin
begin
BackImg := Texture.GetTexture( fFileName , 'Plain');
- if ( BackImg.TexNum = 0 ) then
+ if ( BackImg.TexNum < 1 ) then
begin
if VideoPlayback.Open( fFileName ) then
VideoPlayback.Play;
@@ -1537,13 +1537,8 @@ begin
if fileexists( fFileName ) then
begin
- // BackImg := Texture.GetTexture( fFileName , 'Plain');
-
- if ( BackImg.TexNum = 0 ) then
- begin
- if VideoPlayback.Open( fFileName ) then
- VideoPlayback.Play;
- end;
+ if VideoPlayback.Open( fFileName ) then
+ VideoPlayback.Play;
end;
end;