From 0e6baf481f42d2f489b7075f5dac30f7983e3d1a Mon Sep 17 00:00:00 2001 From: Nev3r Date: Wed, 11 Mar 2020 14:14:15 +0100 Subject: [PATCH] Fix translucency conversion bug introduced earlier for FOFs. --- src/p_spec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/p_spec.c b/src/p_spec.c index 1c6efefcc..cbe44307a 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -5857,9 +5857,8 @@ static ffloor_t *P_AddFakeFloor(sector_t *sec, sector_t *sec2, line_t *master, f else th = th->next; } - if (flags & FF_TRANSLUCENT) - fflr->alpha = sides[master->sidenum[0]].toptexture > 0 ? (master->alpha * 0xff) >> FRACBITS : 0x80; + fflr->alpha = master->alpha > 0 ? (master->alpha * 0xff) >> FRACBITS : 0x80; else fflr->alpha = 0xff;