From 7ea6b9034a197790a769fad6d3a8d8b1253526cd Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Sun, 1 Dec 2024 08:11:50 +1100 Subject: [PATCH] Further fix to R_RecalcLineFlags() --- src/r_bsp.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/r_bsp.c b/src/r_bsp.c index 2e0bb3991..346dfbe50 100644 --- a/src/r_bsp.c +++ b/src/r_bsp.c @@ -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) {