From 2aaa52c63948a896e3cb7a6016da1984d623811e Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 17 Sep 2025 17:29:43 +0200 Subject: [PATCH] remove precip blendmode visability check this WILL never trigger since we neither can access precipmobjs nor do their translucency values ever change so save us a little bit of work --- src/hardware/hw_main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/hardware/hw_main.cpp b/src/hardware/hw_main.cpp index a4802295e..e4a49c65c 100644 --- a/src/hardware/hw_main.cpp +++ b/src/hardware/hw_main.cpp @@ -5044,13 +5044,6 @@ static void HWR_ProjectPrecipitationSprite(precipmobj_t *thing) return; } - // Visibility check by the blend mode. - if (thing->frame & FF_TRANSMASK) - { - if (!R_BlendLevelVisible(thing->blendmode, (thing->frame & FF_TRANSMASK)>>FF_TRANSSHIFT)) - return; - } - // uncapped/interpolation interpmobjstate_t interp = {};