diff --git a/wadsrc/static/zscript/engine/screenjob.zs b/wadsrc/static/zscript/engine/screenjob.zs index 487269982bf..a65516a480b 100644 --- a/wadsrc/static/zscript/engine/screenjob.zs +++ b/wadsrc/static/zscript/engine/screenjob.zs @@ -204,6 +204,7 @@ struct MoviePlayer native { NOSOUNDCUTOFF = 1, FIXEDVIEWPORT = 2, // Forces fixed 640x480 screen size like for Blood's intros. + NOMUSICCUTOFF = 4, } native static MoviePlayer Create(String filename, Array soundinfo, int flags, int frametime, int firstframetime, int lastframetime); @@ -236,7 +237,7 @@ class MoviePlayerJob : SkippableScreenJob override void Start() { - System.StopMusic(); + if (!(flag & MoviePlayer.NOMUSICCUTOFF)) System.StopMusic(); } diff --git a/wadsrc/static/zscript/games/sw/ui/screens.zs b/wadsrc/static/zscript/games/sw/ui/screens.zs index 9ae4e279f9a..364c92e49eb 100644 --- a/wadsrc/static/zscript/games/sw/ui/screens.zs +++ b/wadsrc/static/zscript/games/sw/ui/screens.zs @@ -381,7 +381,7 @@ class SWCutscenes ui 5, SWSnd.DIGI_INTRO_SLASH, 15, SWSnd.DIGI_INTRO_WHIRL); runner.Append(new("SWDRealmsScreen").Init()); - runner.Append(MoviePlayerJob.CreateWithSoundinfo("sw.anm", soundinfo, MoviePlayer.NOSOUNDCUTOFF, 8, 360, 128)); + runner.Append(MoviePlayerJob.CreateWithSoundinfo("sw.anm", soundinfo, MoviePlayer.NOSOUNDCUTOFF | MoviePlayer.NOMUSICCUTOFF, 8, 360, 128)); } }