From 629e249a12890c9184ea907b4afa8fe5146718e4 Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 13 Jul 2024 14:55:21 +0200 Subject: [PATCH] Revert "dont do this with portals" This reverts commit f949fa54af3e999cb2d39accebc632f9c3ce58b3. --- src/hardware/hw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index eb2e943e8..0c5d80135 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -2538,7 +2538,7 @@ doaddline: { gr_backsector = R_FakeFlat(gr_backsector, &tempsec, NULL, NULL, true); - if (!portalclipline && (gr_backsector->ceilingpic == skyflatnum && gr_frontsector->ceilingpic == skyflatnum) && (gr_backsector->floorpic == skyflatnum && gr_frontsector->floorpic == skyflatnum)) // everything's sky? let's save us a bit of time then + if ((gr_backsector->ceilingpic == skyflatnum && gr_frontsector->ceilingpic == skyflatnum) && (gr_backsector->floorpic == skyflatnum && gr_frontsector->floorpic == skyflatnum)) // everything's sky? let's save us a bit of time then { if (!line->polyseg && !line->sidedef->midtexture && ((!gr_frontsector->ffloors && !gr_backsector->ffloors)