From 68b4ed3155f5022c0d313f470caf65e36d3c03e6 Mon Sep 17 00:00:00 2001 From: "Dileep V. Reddy" Date: Wed, 26 Jun 2024 05:30:41 -0600 Subject: [PATCH] Dithered transparency for non-corpse monsters only (and missiles). --- src/rendering/hwrenderer/scene/hw_bsp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/hwrenderer/scene/hw_bsp.cpp b/src/rendering/hwrenderer/scene/hw_bsp.cpp index 42690fe0d2..02eda86169 100644 --- a/src/rendering/hwrenderer/scene/hw_bsp.cpp +++ b/src/rendering/hwrenderer/scene/hw_bsp.cpp @@ -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) ) {