From 893c65d9274dc8de5bf967a157e4da04220e261d Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Mon, 4 Mar 2024 16:37:43 -0500 Subject: [PATCH] Fix mirror marios always using global player models --- src/game/mario_misc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/mario_misc.c b/src/game/mario_misc.c index 389d412d0..70abdd0ef 100644 --- a/src/game/mario_misc.c +++ b/src/game/mario_misc.c @@ -691,7 +691,9 @@ Gfx* geo_render_mirror_mario(s32 callContext, struct GraphNode* node, UNUSED Mat if (mario && (((struct GraphNode*)&mario->header.gfx)->flags & GRAPH_RENDER_ACTIVE) && np->connected) { // TODO: Is this a geo layout copy or a graph node copy? gMirrorMario[i].sharedChild = mario->header.gfx.sharedChild; - dynos_actor_override((void*)&gMirrorMario[i].sharedChild); + if (configGlobalPlayerModels || i == 0) { + dynos_actor_override((void*)&gMirrorMario[i].sharedChild); + } gMirrorMario[i].areaIndex = mario->header.gfx.areaIndex; vec3s_copy(gMirrorMario[i].angle, mario->header.gfx.angle); vec3f_copy(gMirrorMario[i].pos, mario->header.gfx.pos);