Revert "those appear to do nothing"

This reverts commit 5f40ff5a03.
This commit is contained in:
Alug committed 2025-05-16 01:30:19 +02:00
1 parent 36566091aa
commit fa20199ead
2 files changed
+8

No files matched your search

+5
View File
@@ -2357,6 +2357,9 @@ static void HWR_AddLine(seg_t *line)
{
angle_t angle1, angle2;
// SoM: Backsector needs to be run through R_FakeFlat
static sector_t tempsec;
fixed_t v1x, v1y, v2x, v2y; // the seg's vertexes as fixed_t
boolean dont_draw = false;
@@ -2413,6 +2416,8 @@ doaddline:
}
else
{
gl_backsector = R_FakeFlat(gl_backsector, &tempsec, NULL, NULL, true);
if (CheckClip(gl_frontsector, gl_backsector))
{
gld_clipper_SafeAddClipRange(angle2, angle1);
+3
View File
@@ -388,6 +388,7 @@ static void R_AddLine(seg_t *line)
{
INT32 x1, x2;
angle_t angle1, angle2, span, tspan;
static sector_t tempsec;
g_portal = NULL;
@@ -471,6 +472,8 @@ static void R_AddLine(seg_t *line)
if (!backsector)
goto clipsolid;
backsector = R_FakeFlat(backsector, &tempsec, NULL, NULL, true);
doorclosed = 0;
fixed_t frontf1,frontf2, frontc1, frontc2; // front floor/ceiling ends