summaryrefslogtreecommitdiff
path: root/mm/src/code/z_actor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/src/code/z_actor.c')
-rw-r--r--mm/src/code/z_actor.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mm/src/code/z_actor.c b/mm/src/code/z_actor.c
index 8c86e337e..6fed8a875 100644
--- a/mm/src/code/z_actor.c
+++ b/mm/src/code/z_actor.c
@@ -2486,8 +2486,10 @@ void Player_PlaySfx(Player* player, u16 sfxId) {
if (player->currentMask == PLAYER_MASK_GIANT) {
Audio_PlaySfx_AtPosWithPresetLowFreqAndHighReverb(&player->actor.projectedPos, sfxId);
} else {
- AudioSfx_PlaySfx(sfxId, &player->actor.projectedPos, 4, &gSfxDefaultFreqAndVolScale,
- &gSfxDefaultFreqAndVolScale, &gSfxDefaultReverb);
+ if (GameInteractor_Should(VB_LINK_VOICE_PITCH_MULTIPLIER, true, &sfxId)) {
+ AudioSfx_PlaySfx(sfxId, &player->actor.projectedPos, 4, &gSfxDefaultFreqAndVolScale,
+ &gSfxDefaultFreqAndVolScale, &gSfxDefaultReverb);
+ }
}
}