only recalc precipfloor twice a second

This commit is contained in:
Alug committed 2025-09-29 14:12:03 +02:00
1 parent a521866956
commit 1ad92f021a
1 file changed
+2 -1
+2 -1
View File
@@ -3697,7 +3697,8 @@ boolean P_PrecipThinker(precipmobj_t *mobj)
if (mobj->precipflags & PCF_SPLASH)
return true;
if (renderisnewtic)
// only recalc this twice a second (doubt anyone will notice this lulul)
if ((leveltime % 17) == 0)
P_CalculatePrecipFloor(mobj, false);
// adjust height