mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Quaketilt: fix jitter at certain momentum angles
This commit is contained in:
parent
c37fa42d61
commit
f3e1a19c62
1 changed files with 1 additions and 1 deletions
|
|
@ -4026,7 +4026,7 @@ Quaketilt (player_t *player)
|
||||||
}
|
}
|
||||||
lowb = FixedMul(lowb, player->mo->scale);
|
lowb = FixedMul(lowb, player->mo->scale);
|
||||||
moma = FixedMul(FixedDiv(delta, ANGLE_90), tilt);
|
moma = FixedMul(FixedDiv(delta, ANGLE_90), tilt);
|
||||||
speed = abs( player->mo->momx + player->mo->momy );
|
speed = player->speed;
|
||||||
if (speed < lowb)
|
if (speed < lowb)
|
||||||
{
|
{
|
||||||
// ease out tilt as we slow...
|
// ease out tilt as we slow...
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue