Quaketilt: fix jitter at certain momentum angles

This commit is contained in:
James R 2023-06-07 05:04:43 -07:00 committed by NepDisk
parent ec055e5e36
commit af2e1f1184

View file

@ -4024,7 +4024,7 @@ Quaketilt (player_t *player)
}
lowb = FixedMul(lowb, player->mo->scale);
moma = FixedMul(FixedDiv(delta, ANGLE_90), tilt);
speed = abs( player->mo->momx + player->mo->momy );
speed = player->speed;
if (speed < lowb)
{
// ease out tilt as we slow...