Blood: fixed cutscene sound not playing when starting a map from the console.

This commit is contained in:
Christoph Oelckers 2023-12-17 10:59:25 +01:00
parent e2048bd8bd
commit fb6beb905a

View file

@ -794,7 +794,7 @@ public:
if (sound == INVALID_SOUND) if (sound == INVALID_SOUND)
soundEngine->StopAllChannels(); soundEngine->StopAllChannels();
else 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);
} }
} }
} }