Fix tridash going "upward" in flipped gravity

This commit is contained in:
Antonio Martinez 2025-09-15 17:08:33 -04:00
parent 751934250c
commit 25d36344a7

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