From 814c65b290a3f640d760596278cb67d2f681ec6c Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 10 Jul 2024 09:21:58 +0200 Subject: [PATCH] dont do this with portals --- 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 0c5d80135..eb2e943e8 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 ((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 (!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 (!line->polyseg && !line->sidedef->midtexture && ((!gr_frontsector->ffloors && !gr_backsector->ffloors)