Use boostpower instead of offroad for rumble

This commit is contained in:
Eidolon 2023-03-29 18:07:06 -05:00 committed by toaster
parent c64bdca667
commit 3cd232601e

View file

@ -8350,7 +8350,7 @@ void K_KartPlayerAfterThink(player_t *player)
UINT16 low = 0;
UINT16 high = 0;
if (player->offroad > 0 && (player->mo->momx != 0 || player->mo->momy != 0 || player->mo->momz != 0))
if (player->boostpower < FRACUNIT && P_IsObjectOnGround(player->mo))
{
low = 65536 / 4;
high = 65536 / 4;