From f858d77e7c62b626c1126cad25e63c04d4966bcc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 1 Oct 2022 09:01:14 +0200 Subject: [PATCH] - fixed: starting a video must stop all playing music. --- wadsrc/static/zscript/engine/screenjob.zs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wadsrc/static/zscript/engine/screenjob.zs b/wadsrc/static/zscript/engine/screenjob.zs index 51940f7e8..62f86bda4 100644 --- a/wadsrc/static/zscript/engine/screenjob.zs +++ b/wadsrc/static/zscript/engine/screenjob.zs @@ -234,6 +234,12 @@ class MoviePlayerJob : SkippableScreenJob return self; } + override void Start() + { + System.StopMusic(); + } + + static ScreenJob CreateWithSoundInfo(String filename, Array soundinfo, int flags, int frametime, int firstframetime = -1, int lastframetime = -1) { let movie = MoviePlayer.Create(filename, soundinfo, flags, frametime, firstframetime, lastframetime);