mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Rumble: Also vibrate on the first half-second of a sneaker (panel), attenuating in strength with numsneakers.
This commit is contained in:
parent
6942298862
commit
8c58cde072
1 changed files with 5 additions and 0 deletions
|
|
@ -764,6 +764,11 @@ void P_Ticker(boolean run)
|
||||||
low = 65536 / 2;
|
low = 65536 / 2;
|
||||||
high = 65536 / 2;
|
high = 65536 / 2;
|
||||||
}
|
}
|
||||||
|
else if (player->sneakertimer > (sneakertime-(TICRATE/2)))
|
||||||
|
{
|
||||||
|
low = 65536 / (3+player->numsneakers);
|
||||||
|
high = 65536 / (3+player->numsneakers);
|
||||||
|
}
|
||||||
else if (player->boostpower < FRACUNIT && P_IsObjectOnGround(player->mo))
|
else if (player->boostpower < FRACUNIT && P_IsObjectOnGround(player->mo))
|
||||||
{
|
{
|
||||||
low = 65536 / 32;
|
low = 65536 / 32;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue