mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 00:42:08 +00:00
- Remove unnecessary clamp in PlayerAngles::doViewPitch()
.
This commit is contained in:
parent
52b20e1f59
commit
1e6ee7ee61
1 changed files with 0 additions and 3 deletions
|
@ -522,9 +522,6 @@ void PlayerAngles::doViewPitch(const bool canslopetilt, const bool climbing)
|
|||
// Make horizoff grow towards 0 since horizoff is not modified when you're not on a slope.
|
||||
scaletozero(ViewAngles.Pitch, PITCH_HORIZOFFSPEED, PITCH_HORIZOFFPUSH);
|
||||
}
|
||||
|
||||
// Clamp off against the maximum allowed pitch.
|
||||
ViewAngles.Pitch = ClampViewPitch(ViewAngles.Pitch);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue