From a2b3a4cba3e3d141f299105c9198ccad3e0773c0 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Fri, 20 Oct 2023 10:11:13 +1100 Subject: [PATCH] Improve check for self-referencing sectors --- src/p_setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 634c386c93..1183adeb1e 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -2836,8 +2836,8 @@ static void P_FindSelfReferencingSectors(void) const side_t *side1 = &sides[line->sidenum[0]]; const side_t *side2 = &sides[line->sidenum[1]]; - if (!side1->toptexture && !side1->midtexture && !side1->bottomtexture - && !side2->toptexture && !side2->midtexture && !side2->bottomtexture) + if (!side1->toptexture && !side1->bottomtexture + && !side2->toptexture && !side2->bottomtexture) count++; } }