Reapply "lol"

This reverts commit 340450a67e.
This commit is contained in:
Alug committed 2024-07-31 06:07:49 +02:00
1 parent 7c24fcfecb
commit 859e08d628
1 file changed
+3
+3
View File
@@ -3639,6 +3639,7 @@ boolean P_PrecipThinker(precipmobj_t *mobj)
mobj->z = mobj->ceilingz;
mobj->momz = mobj->info->speed;
mobj->precipflags &= ~PCF_SPLASH;
R_ResetPrecipitationMobjInterpolationState(mobj);
}
if (mobj->tics != -1)
@@ -3679,6 +3680,7 @@ boolean P_PrecipThinker(precipmobj_t *mobj)
if ((mobj->info->deathstate == S_NULL) || (mobj->precipflags & PCF_PIT)) // no splashes on sky or bottomless pits
{
mobj->z = mobj->ceilingz;
R_ResetPrecipitationMobjInterpolationState(mobj);
}
else
{
@@ -3687,6 +3689,7 @@ boolean P_PrecipThinker(precipmobj_t *mobj)
mobj->z = mobj->floorz;
mobj->precipflags |= PCF_SPLASH;
R_ResetPrecipitationMobjInterpolationState(mobj);
}
}