mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-28 23:21:58 +00:00
P_SetObjectMomz
This commit is contained in:
parent
8e9073f11f
commit
058b681660
1 changed files with 1 additions and 1 deletions
|
@ -12779,7 +12779,7 @@ void P_PlayerAfterThink(player_t *player)
|
|||
player->powers[pw_carry] = CR_NONE;
|
||||
P_SetTarget(&player->mo->tracer, NULL);
|
||||
P_KillMobj(ptera, player->mo, player->mo, 0);
|
||||
player->mo->momz = 9*FRACUNIT;
|
||||
P_SetObjectMomZ(player->mo, 9*FRACUNIT, false);
|
||||
player->pflags |= PF_APPLYAUTOBRAKE|PF_JUMPED;
|
||||
P_SetMobjState(player->mo, S_PLAY_ROLL);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue