WIP - Acid cancel

This commit is contained in:
Antonio Martinez 2025-09-12 14:48:05 -04:00
parent f9490f7f77
commit 6c6e9d762e

View file

@ -13944,6 +13944,22 @@ static void K_KartSpindash(player_t *player)
player->transfer = 0;
}
}
else
{
boolean ebrakelasttic = (player->oldcmd.buttons & BT_EBRAKEMASK);
if (player->pflags2 & PF2_STRICTFASTFALL)
ebrakelasttic = (player->oldcmd.buttons & BT_SPINDASH);
boolean ebrakenow = K_PressingEBrake(player);
if (player->pflags2 & PF2_STRICTFASTFALL && !(player->cmd.buttons & BT_SPINDASH))
ebrakenow = false;
if (!ebrakelasttic && ebrakenow && player->fastfall && player->transfer)
{
player->transfer = 0;
S_StartSound(player->mo, sfx_s3k7d);
}
}
// Update fastfall.
player->fastfall = player->mo->momz;