summaryrefslogtreecommitdiff
path: root/src/code/z_fireobj.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2022-01-11 11:27:36 +1100
committerGitHub <noreply@github.com>2022-01-11 00:27:36 +0000
commit133e02a8a744ec7252b71ca5a0e310367dae037d (patch)
treeba70920d638ff945e806df1b11297b3e33ab43f9 /src/code/z_fireobj.c
parent6069a1585f34d46178b38554c8d547a266bb4123 (diff)
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
Diffstat (limited to 'src/code/z_fireobj.c')
-rw-r--r--src/code/z_fireobj.c2
1 files changed, 1 insertions, 1 deletions
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;
}