fix oopsie on titled software wöter

This commit is contained in:
Alug committed 2024-06-12 22:33:51 +02:00
1 parent 225ecce676
commit 41eb2ee969
1 file changed
+1 -1
+1 -1
View File
@@ -943,7 +943,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;