From dc29d98dd840b2d00d0701562f4c1132e5dc5a04 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 13 Jul 2014 16:18:32 +0200 Subject: allow negative values for initial velocity and acceleration magnitudes of particles --- src/cgame/cg_particles.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_particles.c b/src/cgame/cg_particles.c index d3e53f03..0c60ed4c 100644 --- a/src/cgame/cg_particles.c +++ b/src/cgame/cg_particles.c @@ -888,7 +888,7 @@ static qboolean CG_ParseParticle( baseParticle_t *bp, char **text_p ) break; CG_ParseValueAndVariance( token, &bp->velMoveValues.mag, - &bp->velMoveValues.magRandFrac, qfalse ); + &bp->velMoveValues.magRandFrac, qtrue ); } else if( !Q_stricmp( token, "parentVelocityFraction" ) ) { @@ -953,7 +953,7 @@ static qboolean CG_ParseParticle( baseParticle_t *bp, char **text_p ) break; CG_ParseValueAndVariance( token, &bp->accMoveValues.mag, - &bp->accMoveValues.magRandFrac, qfalse ); + &bp->accMoveValues.magRandFrac, qtrue ); } else if( !Q_stricmp( token, "acceleration" ) ) { -- cgit