Don't clip if the 3D floor is fog
This commit is contained in:
parent
0ffb241c0a
commit
47b8c0648b
|
@ -540,7 +540,7 @@ static boolean R_IsFFloorTranslucent(visffloor_t *pfloor)
|
||||||
|
|
||||||
// Polyobjects have no ffloors, and they're handled in the conditional above.
|
// Polyobjects have no ffloors, and they're handled in the conditional above.
|
||||||
if (pfloor->ffloor != NULL)
|
if (pfloor->ffloor != NULL)
|
||||||
return (pfloor->ffloor->flags & FF_TRANSLUCENT);
|
return (pfloor->ffloor->flags & (FF_TRANSLUCENT|FF_FOG));
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue