mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +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
|
static void
|
||||||
viewsize_f (cvar_t *var)
|
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));
|
Cvar_SetValue (var, bound (30, var->int_val, 120));
|
||||||
} else {
|
} else {
|
||||||
vid.recalc_refdef = true;
|
vid.recalc_refdef = true;
|
||||||
|
|
Loading…
Reference in a new issue