mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 12:43:33 +00:00
Fix precip interpolation
(If Ediolon reads this, I'm pretty sure this one is Ring Racers only)
This commit is contained in:
parent
27c9d698be
commit
965558c52f
1 changed files with 2 additions and 2 deletions
|
|
@ -3812,12 +3812,11 @@ void P_NullPrecipThinker(precipmobj_t *mobj)
|
|||
{
|
||||
//(void)mobj;
|
||||
mobj->precipflags &= ~PCF_THUNK;
|
||||
R_ResetPrecipitationMobjInterpolationState(mobj);
|
||||
}
|
||||
|
||||
void P_PrecipThinker(precipmobj_t *mobj)
|
||||
{
|
||||
R_ResetPrecipitationMobjInterpolationState(mobj);
|
||||
|
||||
P_CycleStateAnimation((mobj_t *)mobj);
|
||||
|
||||
if (mobj->state == &states[S_RAINRETURN])
|
||||
|
|
@ -3827,6 +3826,7 @@ void 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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue