Also fix reverse gravity while I'm here

This commit is contained in:
Ashnal 2025-07-31 18:46:38 -04:00
parent cc79808aba
commit 1ddfd7c1ee

View file

@ -14777,12 +14777,15 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
P_Thrust(player->mo, player->mo->angle, (40 + 10 * player->itemamount) * player->mo->scale);
player->pflags2 |= PF2_FASTTUMBLEBOUNCE;
/*
if (onground)
player->mo->momz += 10*player->mo->scale;
{
P_SetObjectMomZ(player->mo, 10*FRACUNIT, true);
player->mo->eflags |= MFE_DONTSLOPELAUNCH;
}
else
player->mo->momz -= 50*player->mo->scale;
*/
{
P_SetObjectMomZ(player->mo, -50*FRACUNIT, true);
}
player->itemamount = 0;
player->botvars.itemconfirm = 0;