only need to recalc this once a tic

precip thinker thinks slightly more often, but we really dont need that tbh
This commit is contained in:
Alug committed 2025-03-05 11:13:34 +01:00
1 parent 105b3f37eb
commit 96f842fd96
1 file changed
+2 -1
+2 -1
View File
@@ -3667,7 +3667,8 @@ boolean P_PrecipThinker(precipmobj_t *mobj)
if (mobj->precipflags & PCF_SPLASH)
return true;
P_CalculatePrecipFloor(mobj);
if (renderisnewtic)
P_CalculatePrecipFloor(mobj);
// adjust height
if ((mobj->z += mobj->momz) <= mobj->floorz)