mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Sync with upstream (Issue #30).
Recompiled tier1 and mathlib for all platforms will come in next commit.
This commit is contained in:
@ -800,7 +800,7 @@ void CInput::JoyStickMove( float frametime, CUserCmd *cmd )
|
||||
|
||||
if ( m_flPreviousJoystickForward || m_flPreviousJoystickSide || m_flPreviousJoystickPitch || m_flPreviousJoystickYaw )
|
||||
{
|
||||
Vector vTempOffset = g_ThirdPersonManager.GetCameraOffsetAngles();
|
||||
const Vector& vTempOffset = g_ThirdPersonManager.GetCameraOffsetAngles();
|
||||
|
||||
// update the ideal pitch and yaw
|
||||
cam_idealpitch.SetValue( vTempOffset[ PITCH ] - viewangles[ PITCH ] );
|
||||
|
Reference in New Issue
Block a user