From 133e02a8a744ec7252b71ca5a0e310367dae037d Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Tue, 11 Jan 2022 11:27:36 +1100 Subject: z_sound_source OK (#353) * z_sound_source OK * Fix Pos * Lib_PlaySfxByPos * Change function names * format * Update names to match OoT * cleanup from the merge * Fix name --- src/code/z_fireobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/code/z_fireobj.c') diff --git a/src/code/z_fireobj.c b/src/code/z_fireobj.c index 7c5de646a..2cf05e02a 100644 --- a/src/code/z_fireobj.c +++ b/src/code/z_fireobj.c @@ -131,7 +131,7 @@ void FireObj_UpdateStateTransitions(GlobalContext* globalCtx, FireObj* fire) { } } else if (player->unk_B28 == 0) { player->unk_B28 = 0xD2; - Audio_PlaySoundAtPosition(globalCtx, &fire->position, 20, NA_SE_EV_FLAME_IGNITION); + SoundSource_PlaySfxAtFixedWorldPos(globalCtx, &fire->position, 20, NA_SE_EV_FLAME_IGNITION); } else if (player->unk_B28 < 0xC8) { player->unk_B28 = 0xC8; } -- cgit v1.2.3