From 36395bfaac4b247234aa85c1f85780547d649bf0 Mon Sep 17 00:00:00 2001 From: Lactozilla Date: Mon, 20 May 2024 20:25:42 -0300 Subject: [PATCH] Copy the flags of the reference slope --- src/p_slopes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_slopes.c b/src/p_slopes.c index d941c71f9..11327506e 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -868,7 +868,7 @@ static void P_CreateSolidMidtextureSlope(line_t *line) pslope_t *ref = P_GetReferenceSlopeForMidtexture(line); if (ref) { - line->midtexslope = Slope_Add(0); + line->midtexslope = Slope_Add(ref->flags & SL_NOPHYSICS); P_UpdateSolidMidtextureSlope(line, ref); }