From 298ccbeed54a51f90c8203957ff4e0559af5e376 Mon Sep 17 00:00:00 2001 From: Jaime Passos Date: Tue, 18 Aug 2020 18:49:59 -0300 Subject: [PATCH] Fix opaque splat rendering --- src/r_segs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/r_segs.c b/src/r_segs.c index 6f50f4a77..0e8614809 100644 --- a/src/r_segs.c +++ b/src/r_segs.c @@ -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); } //