mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix Grow on Trick Panels sending you to ridiculous heights.
This commit is contained in:
parent
8b9adb1b4c
commit
0d82b075b0
1 changed files with 1 additions and 2 deletions
|
|
@ -5615,7 +5615,6 @@ static void K_DoShrink(player_t *user)
|
|||
|
||||
void K_DoPogoSpring(mobj_t *mo, fixed_t vertispeed, UINT8 sound)
|
||||
{
|
||||
const fixed_t vscale = mapobjectscale + (mo->scale - mapobjectscale);
|
||||
fixed_t thrust = 0;
|
||||
|
||||
if (mo->player && mo->player->spectator)
|
||||
|
|
@ -5656,7 +5655,7 @@ void K_DoPogoSpring(mobj_t *mo, fixed_t vertispeed, UINT8 sound)
|
|||
//CONS_Printf("Got boost: %d%\n", mo->player->trickboostpower*100 / FRACUNIT);
|
||||
}
|
||||
|
||||
mo->momz = FixedMul(thrust, vscale);
|
||||
mo->momz = FixedMul(thrust, mapobjectscale);
|
||||
|
||||
if (mo->eflags & MFE_UNDERWATER)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue