mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +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;
|
||||
}
|
||||
|
||||
if (fabs(p->TiltStatus) < 0.025)
|
||||
if (fabs(p->TiltStatus) < factor)
|
||||
p->TiltStatus = 0;
|
||||
|
||||
return turnvel * factor;
|
||||
|
|
Loading…
Reference in a new issue