Don't clip if the 3D floor is fog

This commit is contained in:
Jaime Ita Passos 2020-12-02 15:34:11 -03:00
parent 0ffb241c0a
commit 47b8c0648b
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ static boolean R_IsFFloorTranslucent(visffloor_t *pfloor)
// Polyobjects have no ffloors, and they're handled in the conditional above.
if (pfloor->ffloor != NULL)
return (pfloor->ffloor->flags & FF_TRANSLUCENT);
return (pfloor->ffloor->flags & (FF_TRANSLUCENT|FF_FOG));
return false;
}