diff options
author | Tim Angus <tim@ngus.net> | 2002-01-26 03:01:11 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-01-26 03:01:11 +0000 |
commit | 073d8a7783d8feba7952b24e530531b504e968a7 (patch) | |
tree | 42878fca0139dc8ff3416258b11a2c34eaa48dd0 | |
parent | 3af70a5bc8fcdf0332d890c2d0df9f0674303f08 (diff) |
Added chunk removed in error
-rw-r--r-- | src/game/bg_pmove.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |