mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 18:13:15 +00:00
Only spawn sliptides above your top speed
Looks a bit funky being able to do it at low speed using invincibility, plus it's not helping you to do this if you're going too slow :p
This commit is contained in:
parent
ec9dc03725
commit
903f118aac
1 changed files with 3 additions and 0 deletions
|
|
@ -3349,6 +3349,9 @@ static void K_SpawnAIZDust(player_t *player)
|
|||
if (!P_IsObjectOnGround(player->mo))
|
||||
return;
|
||||
|
||||
if (player->speed <= K_GetKartSpeed(player, false))
|
||||
return;
|
||||
|
||||
travelangle = R_PointToAngle2(0, 0, player->mo->momx, player->mo->momy);
|
||||
//S_StartSound(player->mo, sfx_s3k47);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue