mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 20:16:10 +08:00
Sync with upstream (Issue #30).
Recompiled tier1 and mathlib for all platforms will come in next commit.
This commit is contained in:
@ -522,7 +522,7 @@ void CInput::ApplyMouse( QAngle& viewangles, CUserCmd *cmd, float mouse_x, float
|
||||
}
|
||||
else
|
||||
{
|
||||
viewangles[PITCH] += m_pitch->GetFloat() * mouse_y;
|
||||
viewangles[PITCH] += CAM_CapPitch( m_pitch->GetFloat() * mouse_y );
|
||||
}
|
||||
|
||||
// Check pitch bounds
|
||||
|
Reference in New Issue
Block a user