also skip invisible fofs

This commit is contained in:
Alug committed 2025-01-16 21:43:24 +01:00
1 parent 72e72af6b1
commit 559b0bf45a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2872,7 +2872,7 @@ static void HWR_Subsector(size_t num)
{
for (rover = gl_frontsector->ffloors; rover; rover = rover->next)
{
if (!(rover->flags & FF_EXISTS) || !(rover->flags & FF_RENDERPLANES))
if (!(rover->flags & FF_EXISTS) || !(rover->flags & FF_RENDERPLANES) || !(rover->flags & FF_RENDERALL))
continue;
if (sub->validcount == validcount)
+1 -1
View File
@@ -897,7 +897,7 @@ static void R_Subsector(size_t num)
{
for (rover = frontsector->ffloors; rover; rover = rover->next)
{
if (!(rover->flags & FF_EXISTS) || !(rover->flags & FF_RENDERPLANES))
if (!(rover->flags & FF_EXISTS) || !(rover->flags & FF_RENDERPLANES) || !(rover->flags & FF_RENDERALL))
continue;
sector_t *controlSec = &sectors[rover->secnum];