diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2024-06-25 15:13:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-25 15:13:31 -0400 |
| commit | d8f2e9abc67163a366fa2e62ac5d2d7467dfdb65 (patch) | |
| tree | 12af46e3178cf5f7fa7836e6e213f57f12b7aeaf /src/code/z_scene.c | |
| parent | 2ce4742bf69faebb16ea1710c4d4e7902b1be0f1 (diff) | |
Move `PlayState` to a new `z64play.h` (#1966)
* ActorContext
* frameadvance
* SfxSource
* GameOverContext
* RoomContext
* TransitionActorContext
* fix bss
* Move PlayState
* Move play functions to new header
* SAC_ENABLE
* no longer needed
* SAC_ENABLE again
* z_demo being silly
* comment
* format headers
* fix retail bss
* actually fix bss
* Cutscene_ProcessScript comment
* bss again
* Update src/code/z_demo.c
Co-authored-by: cadmic <cadmic24@gmail.com>
* rename to frame_advance and remove it from z64.h
* move macros too
* review
* Rename SequenceContext to SceneSequences
---------
Co-authored-by: cadmic <cadmic24@gmail.com>
Diffstat (limited to 'src/code/z_scene.c')
| -rw-r--r-- | src/code/z_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_scene.c b/src/code/z_scene.c index 0375786e5..849d936a4 100644 --- a/src/code/z_scene.c +++ b/src/code/z_scene.c @@ -409,8 +409,8 @@ BAD_RETURN(s32) Scene_CommandUndefined9(PlayState* play, SceneCmd* cmd) { } BAD_RETURN(s32) Scene_CommandSoundSettings(PlayState* play, SceneCmd* cmd) { - play->sequenceCtx.seqId = cmd->soundSettings.seqId; - play->sequenceCtx.natureAmbienceId = cmd->soundSettings.natureAmbienceId; + play->sceneSequences.seqId = cmd->soundSettings.seqId; + play->sceneSequences.natureAmbienceId = cmd->soundSettings.natureAmbienceId; if (gSaveContext.seqId == (u8)NA_BGM_DISABLED) { SEQCMD_RESET_AUDIO_HEAP(0, cmd->soundSettings.specId); |
