diff --git a/src/common/audio/sound/s_sound.cpp b/src/common/audio/sound/s_sound.cpp index b4a3485c32..3cb91a4461 100644 --- a/src/common/audio/sound/s_sound.cpp +++ b/src/common/audio/sound/s_sound.cpp @@ -1854,11 +1854,6 @@ CCMD(snd_status) GSnd->PrintStatus(); } -CCMD(snd_reset) -{ - S_SoundReset(); -} - CCMD(snd_listdrivers) { GSnd->PrintDriversList(); diff --git a/src/sound/s_doomsound.cpp b/src/sound/s_doomsound.cpp index fc0d0d6d8e..c981d145c5 100644 --- a/src/sound/s_doomsound.cpp +++ b/src/sound/s_doomsound.cpp @@ -1427,3 +1427,8 @@ CCMD (loopsound) } } +CCMD(snd_reset) +{ + S_SoundReset(); +} + diff --git a/wadsrc/static/zscript/engine/screenjob.zs b/wadsrc/static/zscript/engine/screenjob.zs index 7981418c06..ded06689d3 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);