mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Use boostpower instead of offroad for rumble
This commit is contained in:
parent
c64bdca667
commit
3cd232601e
1 changed files with 1 additions and 1 deletions
|
|
@ -8350,7 +8350,7 @@ void K_KartPlayerAfterThink(player_t *player)
|
||||||
UINT16 low = 0;
|
UINT16 low = 0;
|
||||||
UINT16 high = 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;
|
low = 65536 / 4;
|
||||||
high = 65536 / 4;
|
high = 65536 / 4;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue