diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-13 16:18:32 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:09 +0100 |
commit | dc29d98dd840b2d00d0701562f4c1132e5dc5a04 (patch) | |
tree | dce6662111ff933d76cc39896011a735442459e1 | |
parent | 28d7fce50edbebc32d987b1d9c788b47051eb43e (diff) |
allow negative values for initial velocity and acceleration magnitudes of particles
-rw-r--r-- | src/cgame/cg_particles.c | 4 |
1 files changed, 2 insertions, 2 deletions
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" ) ) { |