Fix floor / ceiling mark mistake

This commit is contained in:
Jaime Passos 2020-07-22 23:35:39 -03:00
parent ccd095f1bf
commit f83008f673

View file

@ -1549,7 +1549,6 @@ static void R_RenderSegLoop (void)
dc_source = R_GetColumn(toptexture,texturecolumn); dc_source = R_GetColumn(toptexture,texturecolumn);
dc_texheight = textureheight[toptexture]>>FRACBITS; dc_texheight = textureheight[toptexture]>>FRACBITS;
colfunc(); colfunc();
if (!ceilingmarked)
ceilingclip[rw_x] = (INT16)mid; ceilingclip[rw_x] = (INT16)mid;
} }
else if (!ceilingmarked) // entirely off top of screen else if (!ceilingmarked) // entirely off top of screen
@ -1587,7 +1586,6 @@ static void R_RenderSegLoop (void)
texturecolumn); texturecolumn);
dc_texheight = textureheight[bottomtexture]>>FRACBITS; dc_texheight = textureheight[bottomtexture]>>FRACBITS;
colfunc(); colfunc();
if (!floormarked)
floorclip[rw_x] = (INT16)mid; floorclip[rw_x] = (INT16)mid;
} }
else if (!floormarked) // entirely off bottom of screen else if (!floormarked) // entirely off bottom of screen