diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-06-05 05:43:12 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-04 15:43:12 -0400 |
| commit | 47bc7c12e2d28b8d8ed1cff8df9c17395aefce80 (patch) | |
| tree | 7ebf8ec3fc5825c4bbe7cf28717d5abd48ce50ba /src/code/z_room.c | |
| parent | a995e4cf6181bab778b89d073a2aa67860d82721 (diff) | |
Misc Cleanup (#1257)
* a lot of brackets, and some other things
* oops
* another bracket
* check flag all
* just a few more...
* PR suggestions
* PR comment
* pr
* one more bracket
Diffstat (limited to 'src/code/z_room.c')
| -rw-r--r-- | src/code/z_room.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_room.c b/src/code/z_room.c index 89cf47935..9bc6e12ee 100644 --- a/src/code/z_room.c +++ b/src/code/z_room.c @@ -99,7 +99,7 @@ void Room_DrawCullable(PlayState* play, Room* room, u32 flags) { gSPMatrix(POLY_XLU_DISP++, &gIdentityMtx, G_MTX_MODELVIEW | G_MTX_LOAD); } - if ((room->enablePosLights != 0) || (MREG(93) != 0)) { + if (room->enablePosLights || (MREG(93) != 0)) { gSPSetGeometryMode(POLY_OPA_DISP++, G_LIGHTING_POSITIONAL); gSPSetGeometryMode(POLY_XLU_DISP++, G_LIGHTING_POSITIONAL); } |
