From f6a6d71ba53a25f82ffd52bd097a52b911f1ecbc Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 29 Apr 2026 17:43:10 +0200 Subject: [PATCH] remove magic number for P_CalculatePrecipFloor stuff --- src/p_mobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 4361fb550..3b512cbbb 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -3717,7 +3717,7 @@ boolean P_PrecipThinker(precipmobj_t *mobj) return true; // only recalc this twice a second (doubt anyone will notice this lulul) - if ((leveltime % 17) == 0) + if ((leveltime % (TICRATE/2)) == 0) P_CalculatePrecipFloor(mobj); // adjust height