summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8cd44bb3..79ede29a 100644
--- a/src/game/bg_pmove.c
+++ b/src/game/bg_pmove.c
@@ -809,6 +809,9 @@ static qboolean PM_CheckJump( void )
// jump away from wall
BG_GetClientNormal( pm->ps, normal );
+
+ if( pm->ps->velocity[ 2 ] < 0 )
+ pm->ps->velocity[ 2 ] = 0;
VectorMA( pm->ps->velocity, BG_Class( pm->ps->stats[ STAT_CLASS ] )->jumpMagnitude,
normal, pm->ps->velocity );