diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2023-11-22 20:19:31 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-22 04:19:31 -0500 |
| commit | f2c06ce441a38a032202b9024fdfa57bb36a67c2 (patch) | |
| tree | bb924e2c2b577db8138ac67a6e44a00b5f15b1f8 /src/code/z_lights.c | |
| parent | 2aaa286cf85a51a46bbf1e4ad8f8a36588fd22ad (diff) | |
Misc Cleanup (#1585)
* misc cleanup
* more fake matches
* revert for sym
Diffstat (limited to 'src/code/z_lights.c')
| -rw-r--r-- | src/code/z_lights.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_lights.c b/src/code/z_lights.c index f01c49df2..53b22cb39 100644 --- a/src/code/z_lights.c +++ b/src/code/z_lights.c @@ -108,7 +108,7 @@ void Lights_BindPoint(Lights* lights, LightParams* params, Vec3f* vec) { if (light != NULL) { posDiff = sqrtf(posDiff); - if (1) {} + scale = posDiff / scale; scale = 1 - SQ(scale); |
