fix oopsie on titled software wöter

This commit is contained in:
Alug committed 2024-06-12 21:49:20 +02:00
1 parent 6567313de6
commit b7369b40cb
1 file changed
+1 -1
+1 -1
View File
@@ -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;