P_SetObjectMomz

This commit is contained in:
Zippy_Zolton 2021-01-10 22:01:41 -06:00
parent 8e9073f11f
commit 058b681660

View file

@ -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;