summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-06-14 01:54:35 +0200
committerrobojumper <robojumper@gmail.com>2025-09-13 10:49:07 +0200
commitf730fa82862d9abef8c6745fdfea81f2bfcb957c (patch)
tree9114fa0365f2da301ea4523765a80cff22768d2f
parentbaa9c8e5de77193ba7778a3733fcd712e911777b (diff)
Fix regression
-rw-r--r--src/d/snd/d_snd_control_player_mgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/snd/d_snd_control_player_mgr.cpp b/src/d/snd/d_snd_control_player_mgr.cpp
index afdc8e1d..d2ea4d61 100644
--- a/src/d/snd/d_snd_control_player_mgr.cpp
+++ b/src/d/snd/d_snd_control_player_mgr.cpp
@@ -15,7 +15,7 @@ struct FanfareMuteFlagsApplier {
// The logic here is inverted compared to the others - Fanfares seem to
// mute things by default unless otherwise speciefied
u32 id = handle.GetId();
- if (dSndBgmMgr_c::GetInstance()->getSoundHandleCurrentlyPlayingFanSound(handle.GetId())) {
+ if (dSndBgmMgr_c::GetInstance()->getSoundHandleCurrentlyPlayingFanSound(id)) {
u32 userParam = dSndMgr_c::GetInstance()->getArchive()->GetSoundUserParam(id);
if (!(userParam & dSndPlayerMgr_c::FANFARE_UNMUTE_BGM)) {
dSndControlPlayerMgr_c::GetInstance()->setGroupVolumeFlag(