mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Fix r_particles_nearclip being forced to max.
This commit is contained in:
parent
d297c2b3a3
commit
1f8a1d613f
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ r_farclip_f (cvar_t *var)
|
|||
Cvar_SetValue (r_farclip, bound (8.0, var->value, Q_MAXFLOAT));
|
||||
if (r_particles_nearclip && r_nearclip)
|
||||
Cvar_SetValue (r_particles_nearclip,
|
||||
bound (r_nearclip->value, var->value,
|
||||
bound (r_nearclip->value, r_particles_nearclip->value,
|
||||
r_farclip->value));
|
||||
}
|
||||
|
||||
|
@ -182,7 +182,7 @@ r_nearclip_f (cvar_t *var)
|
|||
Cvar_SetValue (r_nearclip, bound (0.01, var->value, 4.0));
|
||||
if (r_particles_nearclip && r_farclip)
|
||||
Cvar_SetValue (r_particles_nearclip,
|
||||
bound (r_nearclip->value, var->value,
|
||||
bound (r_nearclip->value, r_particles_nearclip->value,
|
||||
r_farclip->value));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue