summaryrefslogtreecommitdiff
path: root/src/game/bg_pmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/bg_pmove.c')
-rw-r--r--src/game/bg_pmove.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index fa025530..a45b4b65 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -650,7 +650,8 @@ static qboolean PM_CheckWallJump( void )
pm->trace( &trace, pm->ps->origin, pm->mins, pm->maxs, point, pm->ps->clientNum, pm->tracemask );
if( trace.fraction < 1.0f &&
- !( trace.surfaceFlags & ( SURF_SKY | SURF_SLICK ) ) )
+ !( trace.surfaceFlags & ( SURF_SKY | SURF_SLICK ) ) &&
+ trace.plane.normal[ 2 ] < MIN_WALK_NORMAL )
{
if( !VectorCompare( trace.plane.normal, pm->ps->grapplePoint ) )
{