From 15e9c954195d4656488f60333f600d4076de33a9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 4 Jan 2024 18:22:24 +0100 Subject: [PATCH] fixed playback of external sound files over cutscenes when started from the console. --- src/common/cutscenes/movieplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/cutscenes/movieplayer.cpp b/src/common/cutscenes/movieplayer.cpp index d9b02541ef..3e3327ac06 100644 --- a/src/common/cutscenes/movieplayer.cpp +++ b/src/common/cutscenes/movieplayer.cpp @@ -794,7 +794,7 @@ public: if (sound == INVALID_SOUND) soundEngine->StopAllChannels(); else - soundEngine->StartSound(SOURCE_None, nullptr, nullptr, CHAN_AUTO, nostopsound ? CHANF_UI : CHANF_NONE, sound, 1.f, ATTN_NONE); + soundEngine->StartSound(SOURCE_None, nullptr, nullptr, CHAN_AUTO, nostopsound ? CHANF_UI | CHANF_FORCE : CHANF_FORCE, sound, 1.f, ATTN_NONE); } } }