mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'gravflip-tridash' into 'master'
Fix tridash going "upward" in flipped gravity See merge request kart-krew-dev/ring-racers-internal!2859
This commit is contained in:
commit
af051c0517
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