From 5e9d24fca4aaae3345d0e139717356b6129de0bb Mon Sep 17 00:00:00 2001 From: engineer124 <47598039+engineer124@users.noreply.github.com> Date: Sat, 4 Dec 2021 01:49:32 +1100 Subject: Clean Up Sequence Structs in Scene/Save/z64 (#1051) * Clean up sound scene struct * Follow-up cleaning * cleanup * Document forcedSeqId * Update include/z64save.h Co-authored-by: fig02 * Update include/z64.h Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> Co-authored-by: fig02 Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> --- src/code/z_parameter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/code/z_parameter.c') diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index c0d674e7c..03fa51887 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -4160,8 +4160,8 @@ void Interface_Update(GlobalContext* globalCtx) { globalCtx->sceneLoadFlag = 0x14; gSaveContext.sunsSongState = SUNSSONG_INACTIVE; func_800F6964(30); - gSaveContext.seqIndex = (u8)NA_BGM_DISABLED; - gSaveContext.nightSeqIndex = 0xFF; + gSaveContext.seqId = (u8)NA_BGM_DISABLED; + gSaveContext.natureAmbienceId = 0xFF; } else { gSaveContext.sunsSongState = SUNSSONG_SPECIAL; } -- cgit v1.2.3