Boost the Trick Panel boost gotten from sneakers/invinc to 2*

This commit is contained in:
toaster 2023-11-06 22:17:53 +00:00
parent 48d93ec9f6
commit 0016e8b9ec

View file

@ -6405,13 +6405,9 @@ void K_DoPogoSpring(mobj_t *mo, fixed_t vertispeed, UINT8 sound)
}
}
if (mo->player->sneakertimer)
if (mo->player->sneakertimer || mo->player->invincibilitytimer)
{
thrust = FixedMul(thrust, 5*FRACUNIT/4);
}
else if (mo->player->invincibilitytimer)
{
thrust = FixedMul(thrust, 9*FRACUNIT/8);
thrust = FixedMul(thrust, 2*FRACUNIT);
}
mo->player->tricktime = 0; // Reset post-hitlag timer