From 38c6bb77d6d868114fac24709c3d8bc033230d76 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 16 Aug 2025 19:32:49 +0200 Subject: [PATCH] update comment for lightcontrast --- src/p_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_setup.c b/src/p_setup.c index 45a4c5a4d..db133602b 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -442,7 +442,7 @@ void P_UpdateSegLightOffset(seg_t *li) extralight = -contrastFixed + FixedMul(light, contrastFixed * 2); - // Between -2 and 2 for software, -8 and 8 for hardware + // Between -1 and 1 for software, -8 and 8 for hardware li->lightOffset = FixedFloor((extralight / 8) + (FRACUNIT / 2)) / FRACUNIT; #ifdef HWRENDER li->hwLightOffset = FixedFloor(extralight + (FRACUNIT / 2)) / FRACUNIT;