From f83008f673c2a87f441f8c9413d7a75b88f29dc8 Mon Sep 17 00:00:00 2001 From: Jaime Passos Date: Wed, 22 Jul 2020 23:35:39 -0300 Subject: [PATCH] Fix floor / ceiling mark mistake --- src/r_segs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/r_segs.c b/src/r_segs.c index f72e3fc1d..80976c5c2 100644 --- a/src/r_segs.c +++ b/src/r_segs.c @@ -1549,8 +1549,7 @@ static void R_RenderSegLoop (void) dc_source = R_GetColumn(toptexture,texturecolumn); dc_texheight = textureheight[toptexture]>>FRACBITS; colfunc(); - if (!ceilingmarked) - ceilingclip[rw_x] = (INT16)mid; + ceilingclip[rw_x] = (INT16)mid; } else if (!ceilingmarked) // entirely off top of screen ceilingclip[rw_x] = -1; @@ -1587,8 +1586,7 @@ static void R_RenderSegLoop (void) texturecolumn); dc_texheight = textureheight[bottomtexture]>>FRACBITS; colfunc(); - if (!floormarked) - floorclip[rw_x] = (INT16)mid; + floorclip[rw_x] = (INT16)mid; } else if (!floormarked) // entirely off bottom of screen floorclip[rw_x] = (INT16)viewheight;