only recalc precipfloor twice a second

This commit is contained in:
Alug committed 2025-09-29 20:13:48 +02:00
1 parent f381239825
commit c7d78fe948
1 file changed
+2 -1
+2 -1
View File
@@ -3655,7 +3655,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