mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 15:32:10 +00:00
Reduce easing time, revert changing air speed
This commit is contained in:
parent
7d1e630007
commit
0b299012f7
1 changed files with 2 additions and 2 deletions
|
@ -8404,7 +8404,7 @@ void A_SPBChase(mobj_t *actor)
|
||||||
if (!P_IsObjectOnGround(actor->tracer) /*&& !actor->tracer->player->kartstuff[k_pogospring]*/)
|
if (!P_IsObjectOnGround(actor->tracer) /*&& !actor->tracer->player->kartstuff[k_pogospring]*/)
|
||||||
{
|
{
|
||||||
// In the air you have no control; basically don't hit unless you make a near complete stop
|
// In the air you have no control; basically don't hit unless you make a near complete stop
|
||||||
defspeed = FixedMul(((fracmax+1)<<FRACBITS) - easiness, actor->tracer->player->speed) / fracmax;
|
defspeed = (7 * actor->tracer->player->speed) / 8;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -8440,7 +8440,7 @@ void A_SPBChase(mobj_t *actor)
|
||||||
|
|
||||||
// Modify stored speed
|
// Modify stored speed
|
||||||
if (wspeed > actor->cvmem)
|
if (wspeed > actor->cvmem)
|
||||||
actor->cvmem += (wspeed - actor->cvmem) / (3*TICRATE);
|
actor->cvmem += (wspeed - actor->cvmem) / TICRATE;
|
||||||
else
|
else
|
||||||
actor->cvmem = wspeed;
|
actor->cvmem = wspeed;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue