diff options
author | Tim Angus <tim@ngus.net> | 2007-09-27 16:43:14 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2007-09-27 16:43:14 +0000 |
commit | 91fba4721971938e9e1cb443f0dcb167a9f3c175 (patch) | |
tree | 790623b7416ef3ae557c60ed72134a5ca351ea98 /src/game/bg_slidemove.c | |
parent | b17d871269828bbd12c2790ee5ddafa54af8ed9b (diff) |
* (bug 3249) Improve repeater interaction with marked deconstruction
* (bug 3321) Allow medkits and medistats to operate simultaneously
* (bug 3310) Fix odd CalcMuzzlePoint implementation
* Random refactoring of g_buildable.c
* Add BG_GetClientNormal
Diffstat (limited to 'src/game/bg_slidemove.c')
-rw-r--r-- | src/game/bg_slidemove.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/game/bg_slidemove.c b/src/game/bg_slidemove.c index aa32a6ae..0b3f8f0c 100644 --- a/src/game/bg_slidemove.c +++ b/src/game/bg_slidemove.c @@ -298,15 +298,7 @@ qboolean PM_StepSlideMove( qboolean gravity, qboolean predictive ) float stepSize; qboolean stepped = qfalse; - if( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBING ) - { - if( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBINGCEILING ) - VectorSet( normal, 0.0f, 0.0f, -1.0f ); - else - VectorCopy( pm->ps->grapplePoint, normal ); - } - else - VectorSet( normal, 0.0f, 0.0f, 1.0f ); + BG_GetClientNormal( pm->ps, normal ); VectorCopy( pm->ps->origin, start_o ); VectorCopy( pm->ps->velocity, start_v ); |