From dd99a6f4cbecad7799fe22e284913c9b55f0b10b Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 6 Jul 2003 07:49:39 +0000 Subject: [PATCH] reverted RunParticleEffect appearance in non-GOODVSBAD2 mode because they were far too different looking git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3169 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_particles.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cl_particles.c b/cl_particles.c index 23d9c814..c25a3b4b 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -658,7 +658,14 @@ void CL_RunParticleEffect (vec3_t org, vec3_t dir, int color, int count) while (count--) { k = particlepalette[color + (rand()&7)]; - particle(pt_static, PARTICLE_BILLBOARD, k, k, tex_particle, false, PBLEND_ALPHA, 5, 5, 255, 300, 9999, 0, 0, org[0] + lhrandom(-8, 8), org[1] + lhrandom(-8, 8), org[2] + lhrandom(-8, 8), lhrandom(-10, 10), lhrandom(-10, 10), lhrandom(-10, 10), 0, 0, 0, 0, 0, 0); + if (gamemode == GAME_GOODVSBAD2) + { + particle(pt_static, PARTICLE_BILLBOARD, k, k, tex_particle, false, PBLEND_ALPHA, 5, 5, 255, 300, 9999, 0, 0, org[0] + lhrandom(-8, 8), org[1] + lhrandom(-8, 8), org[2] + lhrandom(-8, 8), lhrandom(-10, 10), lhrandom(-10, 10), lhrandom(-10, 10), 0, 0, 0, 0, 0, 0); + } + else + { + particle(pt_static, PARTICLE_BILLBOARD, k, k, tex_particle, false, PBLEND_ALPHA, 1, 1, 255, 512, 9999, 0, 0, org[0] + lhrandom(-8, 8), org[1] + lhrandom(-8, 8), org[2] + lhrandom(-8, 8), dir[0] + lhrandom(-15, 15), dir[1] + lhrandom(-15, 15), dir[2] + lhrandom(-15, 15), 0, 0, 0, 0, 0, 0); + } } } -- 2.39.2