From 2afcc6e89a0b4857ca71f57cd963cd8b51ca666e Mon Sep 17 00:00:00 2001 From: headshot2017 Date: Wed, 30 Oct 2024 17:17:28 -0400 Subject: [PATCH] hide cutscene model --- mario.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mario.cpp b/mario.cpp index dc1d186..882476f 100644 --- a/mario.cpp +++ b/mario.cpp @@ -885,6 +885,8 @@ void marioTick(float dt) if (CCutsceneMgr::ms_pCutsceneObjects[i]->m_nModelIndex != 1) continue; + CCutsceneMgr::ms_pCutsceneObjects[i]->m_nObjectFlags.bDoNotRender = 1; + float orX, orY, orZ; auto getAngle = [](RwMatrix* m, float& orX, float& orY, float& orZ){ orX = asinf(m->up.z);