K_PlayerEBrake: let use in air, even if drifting

Lets you fastfall if you're holding the drift button while
airborne.
This commit is contained in:
James R. 2023-09-06 19:28:01 -07:00
parent 70207076c1
commit 3551bbc392

View file

@ -10089,7 +10089,7 @@ boolean K_PlayerEBrake(player_t *player)
}
if (K_PressingEBrake(player) == true
&& player->drift == 0
&& (player->drift == 0 || P_IsObjectOnGround(player->mo) == false)
&& P_PlayerInPain(player) == false
&& player->justbumped == 0
&& player->spindashboost == 0