mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-31 17:31:43 -04:00
Fix LensMode Names (#1643)
This commit is contained in:
+3
-3
@@ -2874,7 +2874,7 @@ void Actor_DrawLensActors(PlayState* play, s32 numLensActors, Actor** lensActors
|
||||
|
||||
gDPSetPrimColor(gfx++, 0, 0, 0, 0, 0, 255);
|
||||
|
||||
if (play->roomCtx.curRoom.lensMode == LENS_MODE_HIDE_ACTORS) {
|
||||
if (play->roomCtx.curRoom.lensMode == LENS_MODE_SHOW_ACTORS) {
|
||||
gDPSetCombineLERP(gfx++, 1, TEXEL0, PRIMITIVE, 0, 1, TEXEL0, PRIMITIVE, 0, 1, TEXEL0, PRIMITIVE, 0, 1,
|
||||
TEXEL0, PRIMITIVE, 0);
|
||||
} else {
|
||||
@@ -2904,7 +2904,7 @@ void Actor_DrawLensActors(PlayState* play, s32 numLensActors, Actor** lensActors
|
||||
gDPSetBlendColor(gfx++, 255, 255, 255, 0);
|
||||
gDPSetPrimColor(gfx++, 0, 0xFF, 0, 0, 0, 32);
|
||||
|
||||
if (play->roomCtx.curRoom.lensMode == LENS_MODE_HIDE_ACTORS) {
|
||||
if (play->roomCtx.curRoom.lensMode == LENS_MODE_SHOW_ACTORS) {
|
||||
gDPSetCombineMode(gfx++, G_CC_MODULATEIA_PRIM, G_CC_MODULATEIA_PRIM);
|
||||
} else {
|
||||
gDPSetCombineLERP(gfx++, 1, TEXEL0, PRIMITIVE, 0, 1, TEXEL0, PRIMITIVE, 0, 1, TEXEL0, PRIMITIVE, 0, 1,
|
||||
@@ -3027,7 +3027,7 @@ void Actor_DrawAll(PlayState* play, ActorContext* actorCtx) {
|
||||
actor->isDrawn = false;
|
||||
if ((actor->init == NULL) && (actor->draw != NULL) && (actor->flags & actorFlags)) {
|
||||
if ((actor->flags & ACTOR_FLAG_REACT_TO_LENS) &&
|
||||
((play->roomCtx.curRoom.lensMode == LENS_MODE_HIDE_ACTORS) ||
|
||||
((play->roomCtx.curRoom.lensMode == LENS_MODE_SHOW_ACTORS) ||
|
||||
(play->actorCtx.lensMaskSize == LENS_MASK_ACTIVE_SIZE) ||
|
||||
(actor->room != play->roomCtx.curRoom.num))) {
|
||||
if (Actor_AddToLensActors(play, actor)) {}
|
||||
|
||||
Reference in New Issue
Block a user