mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'brakedrift-whip' into 'master'
Don't cancel whip charge while brakedrifting Closes #1395 See merge request KartKrew/Kart!2390
This commit is contained in:
commit
247def32e1
1 changed files with 1 additions and 1 deletions
|
|
@ -12528,7 +12528,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||||
player->instaWhipCharge = 0;
|
player->instaWhipCharge = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chargingwhip && K_PressingEBrake(player))
|
if (chargingwhip && (K_PressingEBrake(player) && player->drift == 0))
|
||||||
{
|
{
|
||||||
// 1) E-braking on the ground: cancels Insta-Whip.
|
// 1) E-braking on the ground: cancels Insta-Whip.
|
||||||
// Still lets you keep your Whip while fast-falling.
|
// Still lets you keep your Whip while fast-falling.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue