From 4c6109f62d7e85833ea2f9c5d0aaa85415e155b0 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Fri, 26 Aug 2022 17:08:35 -0400 Subject: [PATCH] Fix redundant check from the optimization The drawsegs x range already filters this case out, so this will never be reached. --- src/r_things.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/r_things.c b/src/r_things.c index 264fc6f2e..4d5df9484 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -3001,12 +3001,6 @@ void R_ClipVisSprite(vissprite_t *spr, INT32 x1, INT32 x2, portal_t* portal) ds = curr->user; - if (!ds->silhouette && !ds->maskedtexturecol) - { - // does not cover sprite - continue; - } - if (ds->portalpass != 66) // unused? { if (ds->portalpass > 0 && ds->portalpass <= portalrender)