mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'fastfall-trickpanel' into 'master'
Pogospring / trickpanel disable fastfall (resolves #624) Closes #624 See merge request KartKrew/Kart!1427
This commit is contained in:
commit
ae0e34bbbe
1 changed files with 1 additions and 0 deletions
|
|
@ -6142,6 +6142,7 @@ void K_DoPogoSpring(mobj_t *mo, fixed_t vertispeed, UINT8 sound)
|
|||
mo->player->trickboostpower = max(FixedDiv(mo->player->speed, K_GetKartSpeed(mo->player, false, false)) - FRACUNIT, 0)*125/100;
|
||||
mo->player->trickboostpower = FixedDiv(mo->player->trickboostpower, K_GrowShrinkSpeedMul(mo->player));
|
||||
//CONS_Printf("Got boost: %d%\n", mo->player->trickboostpower*100 / FRACUNIT);
|
||||
mo->player->fastfall = 0;
|
||||
}
|
||||
|
||||
mo->momz = FixedMul(thrust, mapobjectscale);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue