From 073d8a7783d8feba7952b24e530531b504e968a7 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 26 Jan 2002 03:01:11 +0000 Subject: Added chunk removed in error --- src/game/bg_pmove.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game') diff --git a/src/game/bg_pmove.c b/src/game/bg_pmove.c index 8c6881ee..9460600b 100644 --- a/src/game/bg_pmove.c +++ b/src/game/bg_pmove.c @@ -876,6 +876,10 @@ static void PM_ClimbMove( void ) { PM_Accelerate (wishdir, wishspeed, accelerate); + if ( ( pml.groundTrace.surfaceFlags & SURF_SLICK ) || pm->ps->pm_flags & PMF_TIME_KNOCKBACK ) { + pm->ps->velocity[2] -= pm->ps->gravity * pml.frametime; + } + vel = VectorLength(pm->ps->velocity); // slide along the ground plane -- cgit