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, 3 insertions, 0 deletions
diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c
index a70ef001..8cd44bb3 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -630,6 +630,9 @@ static qboolean PM_CheckWallJump( void )
float upFraction = 1.5f;
trace_t trace;
+ if( !( BG_Class( pm->ps->stats[ STAT_CLASS ] )->abilities & SCA_WALLJUMPER ) )
+ return qfalse;
+
ProjectPointOnPlane( movedir, pml.forward, refNormal );
VectorNormalize( movedir );