summaryrefslogtreecommitdiff
path: root/src/code/z_lights.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2022-05-20 14:40:13 -0400
committerGitHub <noreply@github.com>2022-05-20 14:40:13 -0400
commit4f0018bf368fb1304e3c758745296d28c4e58c9c (patch)
treeb13eee38c6cdf996d659441ebb7c15b6a8bfd2e8 /src/code/z_lights.c
parentd7bbe43ba7734da2e28614debeaf521b4bcb5013 (diff)
Environment documentation pass (#1115)
* some docs, start introducing time macro * most usages of CLOCK_TIME * finish up clock time defines, format * saving incase i need to revert * more docs * more docs progress * some more docs * format with 11 * change sos to storm * update functions.h * some depth stuff * review 1 and 2 * whoops * update zbuf stuff * most of review 3 * enum name * storm state enum * review 4 * fix enum * add comment to skyboxischanging * review * things dont match, committing so i can change branches * revert struct changes * define for override_full_control * new clock_time macro * fill alpha -> glare strength * update comment * remove indoor/outdoor, new name for underwater light variable * remove copy pasted comment * fix comments * remove whitespave * review
Diffstat (limited to 'src/code/z_lights.c')
-rw-r--r--src/code/z_lights.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_lights.c b/src/code/z_lights.c
index 584f7b3e1..e4f690b53 100644
--- a/src/code/z_lights.c
+++ b/src/code/z_lights.c
@@ -347,7 +347,7 @@ void Lights_GlowCheck(GlobalContext* globalCtx) {
if (1) {}
if (1) {}
- if (wZ < (func_8006F0A0(zBuf) >> 3)) {
+ if (wZ < (Environment_ZBufValToFixedPoint(zBuf) >> 3)) {
params->drawGlow = true;
}
}