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 fefd953a83
commit 4b8b5d928d

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;
}