From: havoc Date: Fri, 1 Jul 2011 05:40:29 +0000 (+0000) Subject: fix default effectinfo gravity and size X-Git-Tag: xonotic-v0.5.0~90 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f219f9b10acc57d83de1f9256a47e1b5423ea084;p=xonotic%2Fdarkplaces.git fix default effectinfo gravity and size git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11229 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=f8b93f14e3cc4324eb93f4b47745d6ce5d89400d --- 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;