mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-17 09:32:33 +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);
|
} 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)
|
static boolean R_IsFFloorTranslucent(ffloor_t *pfloor)
|
||||||
{
|
{
|
||||||
if (pfloor->flags & FF_TRANSLUCENT)
|
return (pfloor->flags & FF_TRANSLUCENT);
|
||||||
return (pfloor->alpha < 243);
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue