diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2024-06-25 10:54:14 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-24 17:54:14 -0700 |
| commit | 0bb57352a52ba8fa3d361d2f88c2b9063fa71f62 (patch) | |
| tree | c9afbadf18bfde40ff39bf501c82d40840186e13 /src/code/z_kankyo.c | |
| parent | bb221b4a0fb588389a0847d38ba010c0e46f34d6 (diff) | |
Animation Cleanup: En_T* (#1522)
* anim T cleanup
* more cleanup
* brackets and floats
* small thing
* more floats
* fix name
* fix
* format
---------
Co-authored-by: angie <angheloalf95@gmail.com>
Diffstat (limited to 'src/code/z_kankyo.c')
| -rw-r--r-- | src/code/z_kankyo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_kankyo.c b/src/code/z_kankyo.c index 7e88e81d0..586ac8c76 100644 --- a/src/code/z_kankyo.c +++ b/src/code/z_kankyo.c @@ -1930,8 +1930,8 @@ void Environment_DrawLensFlare(PlayState* play, EnvironmentContext* envCtx, View if (sSunDepthTestY < 0) { sSunDepthTestY = 0; } - if (sSunScreenDepth != GPACK_ZDZ(G_MAXFBZ, 0) || screenPos.x < 0.0f || screenPos.y < 0.0f || - screenPos.x > SCREEN_WIDTH || screenPos.y > SCREEN_HEIGHT) { + if ((sSunScreenDepth != GPACK_ZDZ(G_MAXFBZ, 0)) || (screenPos.x < 0.0f) || (screenPos.y < 0.0f) || + (screenPos.x > SCREEN_WIDTH) || (screenPos.y > SCREEN_HEIGHT)) { isOffScreen = true; } } |
