mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Pogospring / trickpanel disable fastfall
This commit is contained in:
parent
9bbd850d74
commit
dbe8f4c820
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 = 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));
|
mo->player->trickboostpower = FixedDiv(mo->player->trickboostpower, K_GrowShrinkSpeedMul(mo->player));
|
||||||
//CONS_Printf("Got boost: %d%\n", mo->player->trickboostpower*100 / FRACUNIT);
|
//CONS_Printf("Got boost: %d%\n", mo->player->trickboostpower*100 / FRACUNIT);
|
||||||
|
mo->player->fastfall = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
mo->momz = FixedMul(thrust, mapobjectscale);
|
mo->momz = FixedMul(thrust, mapobjectscale);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue