mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 04:01:17 +00:00
Slight tweak to the particle code.
This commit is contained in:
parent
2a723b5766
commit
23b015af3f
1 changed files with 2 additions and 1 deletions
|
@ -594,7 +594,8 @@ R_DrawParticles (void)
|
|||
|
||||
// Don't render particles too close to us.
|
||||
// Note, we must still do physics and such on them.
|
||||
if (!(DotProduct (part->org, vpn) < minparticledist)) {
|
||||
if (!(DotProduct (part->org, vpn) < minparticledist) &&
|
||||
gl_particles->int_val) {
|
||||
at = (byte *) & d_8to24table[(byte) part->color];
|
||||
alpha = part->alpha;
|
||||
|
||||
|
|
Loading…
Reference in a new issue