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:
1 parent
3f63d89099
commit
a4213d0316
1 file changed
+2
-1
+2
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user