From f4be7a80340fad67052bd0bf5ab9576cb7b7d00a Mon Sep 17 00:00:00 2001 From: Alug Date: Sat, 13 Jul 2024 13:06:39 +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 71c7d2124..36c0be020 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -2549,7 +2549,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)