smol cleanup

This commit is contained in:
Alug committed 2024-09-09 22:57:18 +02:00
1 parent 77c9badeca
commit f9463d8efa
1 file changed
+1 -4
+1 -4
View File
@@ -1515,7 +1515,7 @@ void HWR_ProcessSeg(void) // Sort of like GLWall::Process in GZDoom
// two sided line
if (gr_backsector)
{
INT32 gr_toptexture, gr_bottomtexture;
INT32 gr_toptexture = 0, gr_bottomtexture = 0;
SLOPEPARAMS(gr_backsector->c_slope, worldhigh, worldhighslope, gr_backsector->ceilingheight)
SLOPEPARAMS(gr_backsector->f_slope, worldlow, worldlowslope, gr_backsector->floorheight)
@@ -2486,10 +2486,7 @@ static void HWR_AddLine(seg_t *line)
}
if (gr_portal == GRPORTAL_STENCIL || gr_portal == GRPORTAL_DEPTH)
{
gr_backsector = line->backsector;
goto doaddline;
}
if (line->linedef->special == 40)
{