From b7369b40cbdf17c013aecebff7d87f60111b273f Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 12 Jun 2024 21:49:20 +0200 Subject: [PATCH] =?UTF-8?q?fix=20oopsie=20on=20titled=20software=20w=C3=B6?= =?UTF-8?q?ter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/r_draw8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_draw8.c b/src/r_draw8.c index 68e2b50d4..501c3c4a3 100644 --- a/src/r_draw8.c +++ b/src/r_draw8.c @@ -914,7 +914,7 @@ void R_DrawTiltedTranslucentWaterSpan_8(void) // Lighting is simple. It's just linear interpolation from start to end { - float planelightfloat = BASEVIDWIDTH*BASEVIDWIDTH/vid.width / (zeroheight - FIXED_TO_FLOAT(viewz)) / 21.0f; + float planelightfloat = PLANELIGHTFLOAT; float lightstart, lightend; lightend = (iz + ds_szp->x*width) * planelightfloat;