Dithered transparency for non-corpse monsters only (and missiles).

This commit is contained in:
Dileep V. Reddy 2024-06-26 05:30:41 -06:00
parent 1244b26d22
commit 68b4ed3155
No known key found for this signature in database
GPG key ID: 7E1FE104B057EBF3

View file

@ -820,7 +820,7 @@ void HWDrawInfo::DoSubsector(subsector_t * sub)
for (auto p = sector->touching_renderthings; p != nullptr; p = p->m_snext)
{
auto thing = p->m_thing;
if (((thing->flags3 & MF3_ISMONSTER) && (thing->health > 0)) || (thing->flags & MF_MISSILE))
if (((thing->flags3 & MF3_ISMONSTER) && !(thing->flags & MF_CORPSE)) || (thing->flags & MF_MISSILE))
{
if ( P_CheckSight(players[consoleplayer].mo, thing, 0) )
{