diff --git a/src/code/z_play.c b/src/code/z_play.c index de86b1b2e6..bfefcb2b21 100644 --- a/src/code/z_play.c +++ b/src/code/z_play.c @@ -208,7 +208,7 @@ void Gameplay_Init(GameState* thisx) { Audio_SetExtraFilter(0); Quake_Init(); - for (i = 0; i < 4; i++) { + for (i = 0; i < ARRAY_COUNT(globalCtx->cameraPtrs); i++) { globalCtx->cameraPtrs[i] = NULL; } diff --git a/src/overlays/gamestates/ovl_title/z_title.c b/src/overlays/gamestates/ovl_title/z_title.c index f338310c0d..09579b60e1 100644 --- a/src/overlays/gamestates/ovl_title/z_title.c +++ b/src/overlays/gamestates/ovl_title/z_title.c @@ -33,7 +33,7 @@ void Title_PrintBuildInfo(Gfx** gfxp) { // Note: In other rom versions this function also updates unk_1D4, coverAlpha, addAlpha, visibleDuration to calculate // the fade-in/fade-out + the duration of the n64 logo animation void Title_Calc(TitleContext* this) { - this->exit = 1; + this->exit = true; } void Title_SetupView(TitleContext* this, f32 x, f32 y, f32 z) {