From 25ca00c553a6831a29f6d6fb863d46519877bd96 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Sun, 15 Oct 2023 20:55:19 -0500 Subject: [PATCH] wrong argument to SetSlopePlaneVectors --- src/r_plane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_plane.cpp b/src/r_plane.cpp index df13f95a3..dbfbf4a14 100644 --- a/src/r_plane.cpp +++ b/src/r_plane.cpp @@ -234,7 +234,7 @@ static void R_MapTiltedPlane(drawspandata_t *ds, void(*spanfunc)(drawspandata_t* R_SetTiltedSpan(ds, std::clamp(y, 0, viewheight)); R_CalculatePlaneRipple(ds, ds->currentplane->viewangle + ds->currentplane->plangle); - R_SetSlopePlaneVectors(ds, ds->currentplane, x1, (ds->xoffs + ds->planeripple.xfrac), (ds->yoffs + ds->planeripple.yfrac)); + R_SetSlopePlaneVectors(ds, ds->currentplane, y, (ds->xoffs + ds->planeripple.xfrac), (ds->yoffs + ds->planeripple.yfrac)); ds->bgofs >>= FRACBITS;