Skip to content

Commit

Permalink
hide cutscene model
Browse files Browse the repository at this point in the history
  • Loading branch information
headshot2017 committed Oct 30, 2024
1 parent a11feb3 commit 2afcc6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mario.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2afcc6e

Please sign in to comment.