fix a bogus range check. this could have caused an infinite loop
This commit is contained in:
parent
97f54e22df
commit
e0cfe795b0
|
@ -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 New Issue