mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
Allow positive momentum retention when jumping off rollout rocks
This commit is contained in:
parent
ac7d07c9da
commit
280d151d76
1 changed files with 2 additions and 0 deletions
|
@ -4392,6 +4392,8 @@ void P_DoJump(player_t *player, boolean soundandstate)
|
|||
else if (player->powers[pw_carry] == CR_ROLLOUT)
|
||||
{
|
||||
player->mo->momz = 9*FRACUNIT;
|
||||
if (P_MobjFlip(player->mo->tracer)*player->mo->tracer->momz > 0)
|
||||
player->mo->momz += player->mo->tracer->momz;
|
||||
player->powers[pw_carry] = CR_NONE;
|
||||
player->mo->tracer->flags |= MF_PUSHABLE;
|
||||
P_SetTarget(&player->mo->tracer->tracer, NULL);
|
||||
|
|
Loading…
Reference in a new issue