mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix Kickstart being unable to Acid Drop with Strict Fastfall off
This commit is contained in:
parent
c1b22c0c73
commit
766f34d4f5
1 changed files with 8 additions and 2 deletions
10
src/k_kart.c
10
src/k_kart.c
|
|
@ -14075,9 +14075,15 @@ static void K_KartSpindash(player_t *player)
|
||||||
}
|
}
|
||||||
else if (!G_CompatLevel(0x0010))
|
else if (!G_CompatLevel(0x0010))
|
||||||
{
|
{
|
||||||
boolean ebrakelasttic = ((player->oldcmd.buttons & BT_EBRAKEMASK) == BT_EBRAKEMASK);
|
UINT16 oldbuttons = player->oldcmd.buttons;
|
||||||
|
|
||||||
|
if (K_KartKickstart(player))
|
||||||
|
oldbuttons |= BT_ACCELERATE; // Not strictly correct, but better than nothing.
|
||||||
|
// Kickstart needs substrantial attention if we want this sort of thing to be clean.
|
||||||
|
|
||||||
|
boolean ebrakelasttic = (oldbuttons == BT_EBRAKEMASK);
|
||||||
if (player->pflags2 & PF2_STRICTFASTFALL)
|
if (player->pflags2 & PF2_STRICTFASTFALL)
|
||||||
ebrakelasttic = (player->oldcmd.buttons & BT_SPINDASH);
|
ebrakelasttic = (oldbuttons & BT_SPINDASH);
|
||||||
|
|
||||||
boolean ebrakenow = K_PressingEBrake(player);
|
boolean ebrakenow = K_PressingEBrake(player);
|
||||||
if (player->pflags2 & PF2_STRICTFASTFALL && !(player->cmd.buttons & BT_SPINDASH))
|
if (player->pflags2 & PF2_STRICTFASTFALL && !(player->cmd.buttons & BT_SPINDASH))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue