mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Fixed crash in cutscene_bowser_arena_end()
This commit is contained in:
parent
ae76ad7c00
commit
34db74660c
1 changed files with 7 additions and 2 deletions
|
@ -8338,13 +8338,18 @@ BAD_RETURN(s32) cutscene_bowser_arena_dialog(struct Camera *c) {
|
|||
* End the bowser arena cutscene.
|
||||
*/
|
||||
BAD_RETURN(s32) cutscene_bowser_arena_end(struct Camera *c) {
|
||||
if (!c) { return; }
|
||||
cutscene_stop_dialog(c);
|
||||
c->cutscene = 0;
|
||||
transition_next_state(c, 20);
|
||||
sStatusFlags |= CAM_FLAG_UNUSED_CUTSCENE_ACTIVE;
|
||||
if (sMarioCamState) {
|
||||
sModeOffsetYaw = sMarioCamState->faceAngle[1] + DEGREES(90);
|
||||
}
|
||||
if (gSecondCameraFocus) {
|
||||
gSecondCameraFocus->oBowserUnk88 = 2;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Cutscene that plays when Mario enters a bowser fight.
|
||||
|
|
Loading…
Reference in a new issue