Fix opaque splat rendering

This commit is contained in:
Jaime Passos 2020-08-18 18:49:59 -03:00
parent f9820f8d72
commit 298ccbeed5

View file

@ -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);
}
//