aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenEditSub.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Screens/UScreenEditSub.pas')
-rw-r--r--Game/Code/Screens/UScreenEditSub.pas8
1 files changed, 8 insertions, 0 deletions
diff --git a/Game/Code/Screens/UScreenEditSub.pas b/Game/Code/Screens/UScreenEditSub.pas
index 69f0f221..f4341022 100644
--- a/Game/Code/Screens/UScreenEditSub.pas
+++ b/Game/Code/Screens/UScreenEditSub.pas
@@ -223,6 +223,10 @@ begin
temp := temp + 100; //1000ms
AktSong.VideoGAP := temp/100;
+
+ if AktSong.VideoGAP<0 then
+ AktSong.Start := (AktSong.VideoGAP*-1);
+
if PlayVideo then
StartVideo;
end;
@@ -240,6 +244,10 @@ begin
temp := temp - 100; //1000ms
AktSong.VideoGAP := temp/100;
+
+ if AktSong.VideoGAP<0 then
+ AktSong.Start := (AktSong.VideoGAP*-1);
+
if PlayVideo then
StartVideo;
end;