diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/bg_pmove.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index b1bccec2..39d2317c 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -2139,9 +2139,7 @@ static void PM_GroundClimbTrace( void ) pm->ps->eFlags |= EF_WALLCLIMB; //if we're not stuck to the ceiling then set grapplePoint to be a surface normal - //use VectorCompareEpsilon here to prevent a bug where differences in fp precision - //lead to taking crossproducts that give all-zero normals - if( !VectorCompareEpsilon( trace.plane.normal, ceilingNormal, .000001f ) ) + if( !VectorCompareEpsilon( trace.plane.normal, ceilingNormal, 0.000001f ) ) { //so we know what surface we're stuck to VectorCopy( trace.plane.normal, pm->ps->grapplePoint ); |