summaryrefslogtreecommitdiff
path: root/src/cl_fx.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-09-19 18:52:54 +0400
committerAndrey Nazarov <skuller@skuller.net>2010-09-19 20:10:32 +0400
commitbf4250f35774628a70169b6b0b6d6644a53504bb (patch)
tree4f76cb16ca12fe398b98b2c5e63fcc02cc6999f3 /src/cl_fx.c
parentfe038bcdf1fcf2ab2f6975d078c5c82f477836ed (diff)
Cleaned up cparticle_t.
Diffstat (limited to 'src/cl_fx.c')
-rw-r--r--src/cl_fx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cl_fx.c b/src/cl_fx.c
index d302256..429718b 100644
--- a/src/cl_fx.c
+++ b/src/cl_fx.c
@@ -1235,7 +1235,7 @@ CL_FlagTrail
===============
*/
-void CL_FlagTrail (vec3_t start, vec3_t end, float color)
+void CL_FlagTrail (vec3_t start, vec3_t end, int color)
{
vec3_t move;
vec3_t vec;
@@ -1630,7 +1630,6 @@ void CL_FlyParticles (vec3_t origin, int count)
VectorClear (p->accel);
p->color = 0;
- p->colorvel = 0;
p->alpha = 1;
p->alphavel = -100;
@@ -1721,7 +1720,6 @@ void CL_BfgParticles (entity_t *ent)
VectorSubtract (p->org, ent->origin, v);
dist = VectorLength(v) / 90.0;
p->color = floor (0xd0 + dist * 7);
- p->colorvel = 0;
p->alpha = 1.0 - dist;
p->alphavel = -100;