mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-04-04 17:37:46 +00:00
Wipeout slowdown timer is set to 20 tics if below, instead of adding up per bump.
This commit is contained in:
parent
dd2b895e80
commit
8a97b28936
1 changed files with 4 additions and 4 deletions
|
@ -1211,8 +1211,8 @@ void K_KartBouncing(mobj_t *mobj1, mobj_t *mobj2, boolean bounce, boolean solid)
|
|||
mobj1->player->kartstuff[k_justbumped] = bumptime;
|
||||
if (mobj1->player->kartstuff[k_spinouttimer])
|
||||
{
|
||||
mobj1->player->kartstuff[k_wipeoutslow] += wipeoutslowtime+1;
|
||||
mobj1->player->kartstuff[k_spinouttimer] += wipeoutslowtime+1;
|
||||
mobj1->player->kartstuff[k_wipeoutslow] = wipeoutslowtime+1;
|
||||
mobj1->player->kartstuff[k_spinouttimer] = max(wipeoutslowtime+1, mobj1->player->kartstuff[k_spinouttimer]);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1223,8 +1223,8 @@ void K_KartBouncing(mobj_t *mobj1, mobj_t *mobj2, boolean bounce, boolean solid)
|
|||
mobj2->player->kartstuff[k_justbumped] = bumptime;
|
||||
if (mobj2->player->kartstuff[k_spinouttimer])
|
||||
{
|
||||
mobj2->player->kartstuff[k_wipeoutslow] += wipeoutslowtime+1;
|
||||
mobj2->player->kartstuff[k_spinouttimer] += wipeoutslowtime+1;
|
||||
mobj2->player->kartstuff[k_wipeoutslow] = wipeoutslowtime+1;
|
||||
mobj2->player->kartstuff[k_spinouttimer] = max(wipeoutslowtime+1, mobj2->player->kartstuff[k_spinouttimer]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue