mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
fix a bogus range check. this could have caused an infinite loop
This commit is contained in:
parent
97f54e22df
commit
e0cfe795b0
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ scr_ffov_f (cvar_t *var)
|
|||
static void
|
||||
viewsize_f (cvar_t *var)
|
||||
{
|
||||
if (var->int_val < 32 || var->int_val > 120) {
|
||||
if (var->int_val < 30 || var->int_val > 120) {
|
||||
Cvar_SetValue (var, bound (30, var->int_val, 120));
|
||||
} else {
|
||||
vid.recalc_refdef = true;
|
||||
|
|
Loading…
Reference in a new issue