diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index c0757e1b6..b01ceab39 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -4509,11 +4509,8 @@ static void HWR_AddPrecipitationSprites(void) { for (by = yl; by <= yh; by++) { - for (th = precipblocklinks[(by * bmapwidth) + bx]; th; th = th->bnext) + for (th = precipblocklinks[(by * bmapwidth) + bx]; th; th = next) { - if (th->precipflags & PCF_INVISIBLE) - continue; - HWR_ProjectPrecipitationSprite(th); } } diff --git a/src/r_things.c b/src/r_things.c index 020ca5316..b4b56fdd5 100644 --- a/src/r_things.c +++ b/src/r_things.c @@ -2086,12 +2086,9 @@ void R_AddPrecipitationSprites(void) { for (th = precipblocklinks[(by * bmapwidth) + bx]; th; th = next) { - // Store this beforehand because R_ProjectPrecipitionSprite may free th (see P_PrecipThinker) + // Store this beforehand because R_ProjectPrecipitationSprite may free th (see P_PrecipThinker) next = th->bnext; - if (th->precipflags & PCF_INVISIBLE) - continue; - R_ProjectPrecipitationSprite(th); } }