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:
Oni VelocitOni 2025-09-16 01:09:31 +00:00
commit af051c0517

View file

@ -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)
{