Skip to content

Commit

Permalink
Improve check for self-referencing sectors
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Oct 19, 2023
1 parent 1ead38b commit a2b3a4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/p_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
}
Expand Down

0 comments on commit a2b3a4c

Please sign in to comment.