From b60f49e18a0baaa70c4085d5e9c81268d6d831f6 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sat, 12 Oct 2024 19:35:07 -0700 Subject: [PATCH] Match CSfxManager::CSfxEmitterWrapper::Play --- src/Kyoto/Audio/CSfxManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kyoto/Audio/CSfxManager.cpp b/src/Kyoto/Audio/CSfxManager.cpp index 458bdd22..0014168c 100644 --- a/src/Kyoto/Audio/CSfxManager.cpp +++ b/src/Kyoto/Audio/CSfxManager.cpp @@ -96,7 +96,7 @@ void CSfxManager::CSfxEmitterWrapper::Play() { x18_para.paraData.value7 = 0; } - x50_emitterHandle = CAudioSys::S3dAddEmitterParaEx(x24_emitterData, GetSfxHandle().GetIndex(), + x50_emitterHandle = CAudioSys::S3dAddEmitterParaEx(x24_emitterData, GetSfxHandle().GetIndex() & 0xFF, &x1c_parameterInfo); if (x50_emitterHandle != SND_ID_ERROR) { SetPlaying(true);