From fd65393a26be093d770d4b77e17381fab2862aed Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 2 Dec 2005 01:58:49 +0000 Subject: * Added target_alien_win and target_human_win * Made the test for particles at rest less strict * Fixed a bug with the game element disabling stuff --- src/cgame/cg_particles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_particles.c b/src/cgame/cg_particles.c index 8e77f075..64587360 100644 --- a/src/cgame/cg_particles.c +++ b/src/cgame/cg_particles.c @@ -2129,7 +2129,7 @@ static void CG_EvaluateParticlePhysics( particle_t *p ) VectorScale( p->velocity, bounce, p->velocity ); - if( trace.plane.normal[ 2 ] > 0.0f && + if( trace.plane.normal[ 2 ] > 0.5f && ( p->velocity[ 2 ] < 40.0f || p->velocity[ 2 ] < -cg.frametime * p->velocity[ 2 ] ) ) p->atRest = qtrue; -- cgit