we have a var for that lul

This commit is contained in:
Alug committed 2025-06-11 16:32:25 +02:00
1 parent cf10e50063
commit 751c339948
2 files changed
+2 -5

No files matched your search

+1 -4
View File
@@ -729,10 +729,7 @@ void R_DrawSkyPlanes(void)
{
for (pl = visplanes[i]; pl; pl = pl->next)
{
if (pl->ffloor != NULL || pl->polyobj != NULL)
continue;
if (pl->picnum != skyflatnum)
if (pl->picnum != skyflatnum || pl->ffloor != NULL || pl->polyobj != NULL)
continue;
R_DrawSkyPlane(pl, colfunc, cv_parallelsoftware.value);
+1 -1
View File
@@ -1424,7 +1424,7 @@ static void R_RenderSegLoop(drawcolumndata_t* dc)
// single sided line
if (yl <= yh && yh >= 0 && yl < viewheight)
{
R_DrawWallColumn(dc, yl, yh, rw_midtexturemid, texturecolumn, midtexture, (encoremap && !(curline->linedef->flags & ML_TFERLINE)));
R_DrawWallColumn(dc, yl, yh, rw_midtexturemid, texturecolumn, midtexture, midremap);
// dont draw anything more for this column, since
// a midtexture blocks the view