Fix wrong fov clamping
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 19s

This commit is contained in:
smallmodel 2024-12-23 22:57:26 +01:00
parent 37f5f64ef3
commit 515beeafa7
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -845,7 +845,7 @@ void CG_DrawActiveFrame(int serverTime, int frameTime, stereoFrame_t stereoView,
// Clamp the fov to avoid artifacts
if (cg_fov->value < 65) {
cgi.Cvar_Set("cg_fov", "65");
} else if (cg_fov->value > 140) {
} else if (cg_fov->value > 120) {
cgi.Cvar_Set("cg_fov", "120");
}