diff options
Diffstat (limited to 'src/game/bg_slidemove.c')
-rw-r--r-- | src/game/bg_slidemove.c | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/src/game/bg_slidemove.c b/src/game/bg_slidemove.c index e4f7f6c5..2ddd952b 100644 --- a/src/game/bg_slidemove.c +++ b/src/game/bg_slidemove.c @@ -305,21 +305,18 @@ qboolean PM_StepSlideMove( qboolean gravity, qboolean predictive ) if( PM_SlideMove( gravity ) == 0 ) { - if( pm->ps->stats[ STAT_STATE ] & SS_WALLCLIMBING ) - { - VectorCopy( start_o, down ); - VectorMA( down, -STEPSIZE, normal, down ); - pm->trace( &trace, start_o, pm->mins, pm->maxs, down, pm->ps->clientNum, pm->tracemask ); + VectorCopy( start_o, down ); + VectorMA( down, -STEPSIZE, normal, down ); + pm->trace( &trace, start_o, pm->mins, pm->maxs, down, pm->ps->clientNum, pm->tracemask ); - //we can step down - if( trace.fraction > 0.01f && trace.fraction < 1.0f && - !trace.allsolid && pml.groundPlane != qfalse ) - { - if( pm->debugLevel ) - Com_Printf( "%d: step down\n", c_pmove ); - - stepped = qtrue; - } + //we can step down + if( trace.fraction > 0.01f && trace.fraction < 1.0f && + !trace.allsolid && pml.groundPlane != qfalse ) + { + if( pm->debugLevel ) + Com_Printf( "%d: step down\n", c_pmove ); + + stepped = qtrue; } } else |