mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Zip to the ground when airboosting
This commit is contained in:
parent
47e66096ca
commit
ad9c36effd
1 changed files with 4 additions and 0 deletions
|
|
@ -9463,6 +9463,10 @@ static void K_KartDrift(player_t *player, boolean onground)
|
||||||
S_StartSound(player->mo, sfx_s23c);
|
S_StartSound(player->mo, sfx_s23c);
|
||||||
//K_SpawnDashDustRelease(player);
|
//K_SpawnDashDustRelease(player);
|
||||||
|
|
||||||
|
// Airtime means we're not gaining speed. Get grounded!
|
||||||
|
if (!onground)
|
||||||
|
player->mo->momz -= player->speed/2;
|
||||||
|
|
||||||
if (player->driftcharge < 0)
|
if (player->driftcharge < 0)
|
||||||
{
|
{
|
||||||
// Stage 0: Grey sparks
|
// Stage 0: Grey sparks
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue