mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-01 17:01:24 +00:00
Fix tridash going "upward" in flipped gravity
This commit is contained in:
parent
751934250c
commit
25d36344a7
1 changed files with 1 additions and 1 deletions
|
|
@ -12753,7 +12753,7 @@ static void K_KartDrift(player_t *player, boolean onground)
|
|||
|
||||
// Airtime means we're not gaining speed. Get grounded!
|
||||
if (!onground)
|
||||
player->mo->momz -= player->speed/2;
|
||||
player->mo->momz -= (player->mo->eflags & MFE_VERTICALFLIP ? -1 : 1) * player->speed/2;
|
||||
|
||||
if (player->driftcharge < 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue