From c7d78fe9487272cbd295e4af3331ac95fc6e7187 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 29 Sep 2025 14:11:25 +0200 Subject: [PATCH] only recalc precipfloor twice a second --- src/p_mobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 7ff994b98..1e554c53f 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -3655,7 +3655,8 @@ boolean P_PrecipThinker(precipmobj_t *mobj) if (mobj->precipflags & PCF_SPLASH) return true; - if (renderisnewtic) + // only recalc this twice a second (doubt anyone will notice this lulul) + if ((leveltime % 17) == 0) P_CalculatePrecipFloor(mobj, false); // adjust height