From 2b6f6d25a9bc236e02c78931b171e650db39d41b Mon Sep 17 00:00:00 2001 From: Noseey Date: Sat, 14 Dec 2024 20:26:27 +0100 Subject: [PATCH] Heretic: Check rlightlevel instead of llightlevel for rejecting empty lines and triggers --- src/heretic/r_bsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heretic/r_bsp.c b/src/heretic/r_bsp.c index 64b12eeb0..bc71eae6d 100644 --- a/src/heretic/r_bsp.c +++ b/src/heretic/r_bsp.c @@ -313,7 +313,7 @@ void R_AddLine(seg_t * line) // reject empty lines used for triggers and special events if (backsector->ceilingpic == frontsector->ceilingpic && backsector->floorpic == frontsector->floorpic - && backsector->lightlevel == frontsector->lightlevel + && backsector->rlightlevel == frontsector->rlightlevel && backsector->special == frontsector->special // [crispy] check for special as well && curline->sidedef->midtexture == 0) return;