From 1ad92f021a27247c41e0fcd48a176e1df82433a8 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 b7e10dacc..beb9070a4 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -3697,7 +3697,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