Restores dither effect on teleport (#476)
This commit is contained in:
1 parent
ac45e70e5c
commit
1af9f2b94a
1 file changed
+1
-1
@@ -309,7 +309,7 @@ static Gfx *make_gfx_mario_alpha(struct GraphNodeGenerated *node, s16 alpha) {
|
||||
SET_GRAPH_NODE_LAYER(node->fnNode.node.flags, LAYER_TRANSPARENT);
|
||||
gfxHead = alloc_display_list(3 * sizeof(*gfxHead));
|
||||
gfx = gfxHead;
|
||||
if (gMarioState->flags & MARIO_VANISH_CAP) {
|
||||
if (gMarioState->flags & (MARIO_VANISH_CAP | MARIO_TELEPORTING)) {
|
||||
gDPSetAlphaCompare(gfx++, G_AC_DITHER);
|
||||
} else {
|
||||
gDPSetAlphaCompare(gfx++, G_AC_NONE);
|
||||
|
||||
Reference in new issue
Block a user