We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fae1fb commit afe7d33Copy full SHA for afe7d33
cl_dll/hud_redraw.cpp
@@ -78,7 +78,7 @@ void CHud::Think( void )
78
else
79
{
80
// set a new sensitivity that is proportional to the change from the FOV default
81
- m_flMouseSensitivity = sensitivity->value * ((float)newfov / (float)default_fov->value) * CVAR_GET_FLOAT("zoom_sensitivity_ratio");
+ m_flMouseSensitivity = sensitivity->value * ((float)newfov / Q_max( default_fov->value, 90 )) * CVAR_GET_FLOAT("zoom_sensitivity_ratio");
82
}
83
84
// think about default fov
0 commit comments