Revert Test rewrite for R_FFloorCanClip
This reverts commit 86e1a65502.
This commit is contained in:
parent
ed0a3ecbc6
commit
ecfc29ac8a
1 changed files with 1 additions and 12 deletions
|
|
@ -1301,18 +1301,7 @@ static inline void R_ExpandPlaneY(visplane_t *pl, INT32 x, INT16 top, INT16 bott
|
|||
// Returns true if a fake floor can clip a column away.
|
||||
static boolean R_FFloorCanClip(visffloor_t *pfloor)
|
||||
{
|
||||
boolean value = false;
|
||||
|
||||
if (cv_ffloorclip.value)
|
||||
value = true;
|
||||
|
||||
if (R_IsFFloorTranslucent(pfloor))
|
||||
value = false;
|
||||
|
||||
if (pfloor->polyobj)
|
||||
value = false;
|
||||
|
||||
return value;
|
||||
return (cv_ffloorclip.value && !R_IsFFloorTranslucent(pfloor) && !pfloor->polyobj);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in a new issue