mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- Blood: Clamp tangent applied as Z offset in view.
* Value of `1.171875` == 150 (value between 180/120 - old min/max) / 128 (Build to pure Tan).
This commit is contained in:
parent
c3adf5ea58
commit
dbdcdb934f
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ static void SetupView(PLAYER* pPlayer, DVector3& cPos, DAngle& cA, DAngle& cH, s
|
|||
{
|
||||
cPos.Z += bobHeight;
|
||||
}
|
||||
cPos.Z += cH.Tan() * 5.;
|
||||
cPos.Z += clamp(cH.Tan(), -1.171875, 1.171875) * 5.;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue