mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 05:11:08 +00:00
Fix opaque splat rendering
This commit is contained in:
parent
f9820f8d72
commit
298ccbeed5
1 changed files with 2 additions and 4 deletions
|
@ -699,12 +699,10 @@ static void R_DrawRepeatFlippedMaskedColumn(column_t *col)
|
|||
} while (sprtopscreen < sprbotscreen);
|
||||
}
|
||||
|
||||
// Returns true if the fake floor will be translucent
|
||||
// Returns true if a fake floor is translucent.
|
||||
static boolean R_IsFFloorTranslucent(ffloor_t *pfloor)
|
||||
{
|
||||
if (pfloor->flags & FF_TRANSLUCENT)
|
||||
return (pfloor->alpha < 243);
|
||||
return false;
|
||||
return (pfloor->flags & FF_TRANSLUCENT);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue