From 6b7af2ce37c32ac0f6a61d9d0c4f47199907d63e Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Sat, 23 Dec 2023 11:51:41 -0500 Subject: [PATCH] Hide mario shadow in first person mode --- src/game/rendering_graph_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/rendering_graph_node.c b/src/game/rendering_graph_node.c index b12df4d4..bc36cb60 100644 --- a/src/game/rendering_graph_node.c +++ b/src/game/rendering_graph_node.c @@ -1083,7 +1083,7 @@ static void geo_process_shadow(struct GraphNodeShadow *node) { gShadowInterpCurrent->gfx = shadowListPrev; } - if (gCurGraphNodeObject->shadowInvisible) { + if (gCurGraphNodeObject->shadowInvisible || (gCurGraphNodeObject == &gMarioState->marioObj->header.gfx && get_first_person_enabled())) { shadowListPrev = NULL; }