mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Also fix reverse gravity while I'm here
This commit is contained in:
parent
cc79808aba
commit
1ddfd7c1ee
1 changed files with 7 additions and 4 deletions
11
src/k_kart.c
11
src/k_kart.c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue