From 5c82e674ccf797e5666a1da87e301e23d7d7bcb1 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 14 Sep 2024 18:43:00 +0200 Subject: [PATCH] remove code dupe in r_segs --- src/r_segs.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/r_segs.c b/src/r_segs.c index 149c624f8..c11973a52 100644 --- a/src/r_segs.c +++ b/src/r_segs.c @@ -1964,20 +1964,6 @@ void R_StoreWallRange(INT32 start, INT32 stop) if (viewsector != frontsector && viewsector != backsector) { - if (worldhigh <= worldbottom && worldhighslope <= worldbottomslope) - { - ds_p->sprbottomclip = negonearray; - ds_p->bsilheight = INT32_MAX; - ds_p->silhouette |= SIL_BOTTOM; - } - - if (worldlow >= worldtop && worldlowslope >= worldtopslope) - { - ds_p->sprtopclip = screenheightarray; - ds_p->tsilheight = INT32_MIN; - ds_p->silhouette |= SIL_TOP; - } - //SoM: 3/25/2000: This code fixes an automap bug that didn't check // frontsector->ceiling and backsector->floor to see if a door was closed. // Without the following code, sprites get displayed behind closed doors.