remove smoke I added thismorning

This commit is contained in:
Chris Ison 2001-11-15 23:36:14 +00:00
parent 0e5262c2ea
commit 5c26b54697

View file

@ -169,19 +169,11 @@ R_ParticleExplosion (vec3_t org)
/* /*
R_NewExplosion (org); R_NewExplosion (org);
*/ */
if (cl_surprise->int_val)
{
particle_new_random (pt_smokecloud, part_tex_smoke, org, 4,
30, 8, r_realtime + 5,
(rand () & 255),
128 + (rand () & 63));
} else {
particle_new_random (pt_smokecloud, part_tex_smoke, org, 4, particle_new_random (pt_smokecloud, part_tex_smoke, org, 4,
30, 8, r_realtime + 5, 30, 8, r_realtime + 5,
(rand () & 7) + 8, (rand () & 7) + 8,
128 + (rand () & 63)); 128 + (rand () & 63));
} }
}
void void
R_ParticleExplosion2 (vec3_t org, int colorStart, int colorLength) R_ParticleExplosion2 (vec3_t org, int colorStart, int colorLength)
{ {
@ -439,7 +431,8 @@ R_RocketTrail (entity_t *ent)
particle_new (pt_smoke, part_tex_smoke, ent->old_origin, particle_new (pt_smoke, part_tex_smoke, ent->old_origin,
pscale + percent * 4.0, vec3_origin, pscale + percent * 4.0, vec3_origin,
r_realtime + 2.0 - percent * 2.0, 12 + (rand () & 3), r_realtime + 2.0 - percent * 2.0,
12 + (rand () & 3),
128 + (rand () & 31) - percent * 100.0); 128 + (rand () & 31) - percent * 100.0);
if (numparticles >= r_maxparticles) if (numparticles >= r_maxparticles)
break; break;
@ -473,7 +466,8 @@ R_GrenadeTrail (entity_t *ent)
particle_new (pt_smoke, part_tex_smoke, ent->old_origin, particle_new (pt_smoke, part_tex_smoke, ent->old_origin,
pscale + percent * 4.0, vec3_origin, pscale + percent * 4.0, vec3_origin,
r_realtime + 2.0 - percent * 2.0, (rand () & 3), r_realtime + 2.0 - percent * 2.0,
(rand () & 3),
160 + (rand () & 31) - percent * 100.0); 160 + (rand () & 31) - percent * 100.0);
if (numparticles >= r_maxparticles) if (numparticles >= r_maxparticles)
break; break;