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-01-27 23:13:34 +01:00
1 parent 3f63d89099
commit a4213d0316
1 file changed
+2 -1
+2 -1
View File
@@ -3734,7 +3734,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)