Skip to content

Commit

Permalink
Heretic: Check rlightlevel instead of llightlevel for rejecting empty…
Browse files Browse the repository at this point in the history
… lines and triggers
  • Loading branch information
Noseey committed Dec 14, 2024
1 parent f78c082 commit 2b6f6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heretic/r_bsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2b6f6d2

Please sign in to comment.