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:
Sally Coolatta 2020-07-29 12:47:55 -04:00
parent ec9dc03725
commit 903f118aac

View file

@ -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);