fixed playback of external sound files over cutscenes when started from the console.

This commit is contained in:
Christoph Oelckers 2024-01-04 18:22:24 +01:00
parent d0288264a2
commit 15e9c95419

View file

@ -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);
}
}
}