summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-12-02 01:58:49 +0000
committerTim Angus <tim@ngus.net>2005-12-02 01:58:49 +0000
commitfd65393a26be093d770d4b77e17381fab2862aed (patch)
tree6eaf92a9a0728ce28011f45fd09a83e24ce423f9 /src/cgame
parent32d5e0a42e3d06ce6ce94dc42d4cc5e50fc8061f (diff)
* 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
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_particles.c2
1 files changed, 1 insertions, 1 deletions
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;