From f8b93f14e3cc4324eb93f4b47745d6ce5d89400d Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 1 Jul 2011 05:40:29 +0000 Subject: [PATCH] fix default effectinfo gravity and size git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11229 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_particles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cl_particles.c b/cl_particles.c index ab4f8209..4f97c3d1 100644 --- a/cl_particles.c +++ b/cl_particles.c @@ -226,13 +226,13 @@ particleeffectinfo_t baselineparticleeffectinfo = // if start and end of the range are the same, no randomization is done {63, 63 /* tex_particle */}, //int tex[2]; // range of size values randomly chosen when spawning, plus size increase over time - {1, 1, 1}, //float size[3]; + {1, 1, 0.0f}, //float size[3]; // range of alpha values randomly chosen when spawning, plus alpha fade {0.0f, 256.0f, 256.0f}, //float alpha[3]; // how long the particle should live (note it is also removed if alpha drops to 0) {16777216.0f, 16777216.0f}, //float time[2]; // how much gravity affects this particle (negative makes it fly up!) - 1.0f, //float gravity; + 0.0f, //float gravity; // how much bounce the particle has when it hits a surface // if negative the particle is removed on impact 0.0f, //float bounce; -- 2.39.2