Skip to content

Commit

Permalink
Further fix to R_RecalcLineFlags()
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 30, 2024
1 parent 1ccbf66 commit 7ea6b90
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/r_bsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,9 @@ static void R_RecalcLineFlags(line_t *line)
|| backsector->flooryoffset != frontsector->flooryoffset
|| backsector->ceilingxoffset != frontsector->ceilingxoffset
|| backsector->ceilingyoffset != frontsector->ceilingyoffset
|| (backsector->floorlightsec && frontsector->floorlightsec
&& backsector->floorlightsec->id != frontsector->floorlightsec->id)
|| (backsector->ceilinglightsec && frontsector->ceilinglightsec
&& backsector->ceilinglightsec->id != frontsector->ceilinglightsec->id)
|| backsector->floorpic != frontsector->floorpic
|| backsector->floorlightsec != frontsector->floorlightsec
|| backsector->ceilinglightsec != frontsector->ceilinglightsec
|| backsector->floorpic != frontsector->floorpic
|| backsector->ceilingpic != frontsector->ceilingpic
|| backsector->lightlevel != frontsector->lightlevel)
{
Expand Down

0 comments on commit 7ea6b90

Please sign in to comment.