mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-01 16:27:27 +00:00
Fix mirror marios always using global player models
This commit is contained in:
parent
2aa5fffc27
commit
893c65d927
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
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?
|
// TODO: Is this a geo layout copy or a graph node copy?
|
||||||
gMirrorMario[i].sharedChild = mario->header.gfx.sharedChild;
|
gMirrorMario[i].sharedChild = mario->header.gfx.sharedChild;
|
||||||
|
if (configGlobalPlayerModels || i == 0) {
|
||||||
dynos_actor_override((void*)&gMirrorMario[i].sharedChild);
|
dynos_actor_override((void*)&gMirrorMario[i].sharedChild);
|
||||||
|
}
|
||||||
gMirrorMario[i].areaIndex = mario->header.gfx.areaIndex;
|
gMirrorMario[i].areaIndex = mario->header.gfx.areaIndex;
|
||||||
vec3s_copy(gMirrorMario[i].angle, mario->header.gfx.angle);
|
vec3s_copy(gMirrorMario[i].angle, mario->header.gfx.angle);
|
||||||
vec3f_copy(gMirrorMario[i].pos, mario->header.gfx.pos);
|
vec3f_copy(gMirrorMario[i].pos, mario->header.gfx.pos);
|
||||||
|
|
Loading…
Reference in a new issue