Allow fastfall whip

This commit is contained in:
AJ Martinez 2024-01-06 15:05:25 -07:00
parent 064757c450
commit d807921489

View file

@ -8702,7 +8702,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
if (player->justbumped > 0) if (player->justbumped > 0)
player->justbumped--; player->justbumped--;
if (K_PressingEBrake(player) == true) if (K_PressingEBrake(player) == true && onground)
{ {
if (gametyperules & GTR_BUMPERS) if (gametyperules & GTR_BUMPERS)
player->instaWhipCooldown = INSTAWHIP_DROPGUARD; // Delay whip out of spindash and guard. player->instaWhipCooldown = INSTAWHIP_DROPGUARD; // Delay whip out of spindash and guard.