remove magic number for P_CalculatePrecipFloor stuff

This commit is contained in:
alufolie91 committed 2026-04-29 17:43:10 +02:00
1 parent 51f70e9a97
commit f6a6d71ba5
1 file changed
+1 -1
+1 -1
View File
@@ -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