mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Re-enable mirror rendering
This commit is contained in:
parent
12e533c2a9
commit
c3b82a811a
1 changed files with 2 additions and 3 deletions
|
@ -701,9 +701,8 @@ Gfx* geo_render_mirror_mario(s32 callContext, struct GraphNode* node, UNUSED Mat
|
||||||
gMirrorMario[i].pos[0] = mirroredX + MIRROR_X;
|
gMirrorMario[i].pos[0] = mirroredX + MIRROR_X;
|
||||||
gMirrorMario[i].angle[1] = -gMirrorMario[i].angle[1];
|
gMirrorMario[i].angle[1] = -gMirrorMario[i].angle[1];
|
||||||
gMirrorMario[i].scale[0] *= -1.0f;
|
gMirrorMario[i].scale[0] *= -1.0f;
|
||||||
// TODO: enabling rendering can cause the game to crash when two players are in the mirror room
|
// TODO: does rendering the mirror room still crash?
|
||||||
//gMirrorMario[i].node.flags |= GRAPH_RENDER_ACTIVE;
|
gMirrorMario[i].node.flags |= GRAPH_RENDER_ACTIVE;
|
||||||
gMirrorMario[i].node.flags &= ~GRAPH_RENDER_ACTIVE;
|
|
||||||
} else {
|
} else {
|
||||||
gMirrorMario[i].node.flags &= ~GRAPH_RENDER_ACTIVE;
|
gMirrorMario[i].node.flags &= ~GRAPH_RENDER_ACTIVE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue