mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-29 02:10:36 +00:00
- set p->TiltStatus
in boatApplyTurn()
to 0 if less than factor, not previous hard-coded constant.
This commit is contained in:
parent
4bf5c3d6b5
commit
d0f839060e
1 changed files with 1 additions and 1 deletions
|
@ -1090,7 +1090,7 @@ static double boatApplyTurn(player_struct *p, int turnl, int turnr, int boat_tur
|
||||||
p->TiltStatus += (float)factor;
|
p->TiltStatus += (float)factor;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fabs(p->TiltStatus) < 0.025)
|
if (fabs(p->TiltStatus) < factor)
|
||||||
p->TiltStatus = 0;
|
p->TiltStatus = 0;
|
||||||
|
|
||||||
return turnvel * factor;
|
return turnvel * factor;
|
||||||
|
|
Loading…
Reference in a new issue